diff options
author | onefang | 2019-05-19 21:24:15 +1000 |
---|---|---|
committer | onefang | 2019-05-19 21:24:15 +1000 |
commit | 5e4d6cab00cb29cd088ab7b62ab13aff103b64cb (patch) | |
tree | a9fbc62df9eb2d1d9ba2698d8552eae71eca20d8 /OpenSim/Services/PresenceService/PresenceService.cs | |
parent | Add a build script. (diff) | |
download | opensim-SC-5e4d6cab00cb29cd088ab7b62ab13aff103b64cb.zip opensim-SC-5e4d6cab00cb29cd088ab7b62ab13aff103b64cb.tar.gz opensim-SC-5e4d6cab00cb29cd088ab7b62ab13aff103b64cb.tar.bz2 opensim-SC-5e4d6cab00cb29cd088ab7b62ab13aff103b64cb.tar.xz |
Dump OpenSim 0.9.0.1 into it's own branch.
Diffstat (limited to 'OpenSim/Services/PresenceService/PresenceService.cs')
-rw-r--r-- | OpenSim/Services/PresenceService/PresenceService.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Services/PresenceService/PresenceService.cs b/OpenSim/Services/PresenceService/PresenceService.cs index b5ca4d5..ae92919 100644 --- a/OpenSim/Services/PresenceService/PresenceService.cs +++ b/OpenSim/Services/PresenceService/PresenceService.cs | |||
@@ -71,7 +71,7 @@ namespace OpenSim.Services.PresenceService | |||
71 | data.SessionID = sessionID; | 71 | data.SessionID = sessionID; |
72 | data.Data = new Dictionary<string, string>(); | 72 | data.Data = new Dictionary<string, string>(); |
73 | data.Data["SecureSessionID"] = secureSessionID.ToString(); | 73 | data.Data["SecureSessionID"] = secureSessionID.ToString(); |
74 | 74 | ||
75 | m_Database.Store(data); | 75 | m_Database.Store(data); |
76 | 76 | ||
77 | string prevUserStr = ""; | 77 | string prevUserStr = ""; |
@@ -80,7 +80,7 @@ namespace OpenSim.Services.PresenceService | |||
80 | 80 | ||
81 | m_log.DebugFormat("[PRESENCE SERVICE]: LoginAgent: session {0}, user {1}, region {2}, secure session {3}{4}", | 81 | m_log.DebugFormat("[PRESENCE SERVICE]: LoginAgent: session {0}, user {1}, region {2}, secure session {3}{4}", |
82 | data.SessionID, data.UserID, data.RegionID, secureSessionID, prevUserStr); | 82 | data.SessionID, data.UserID, data.RegionID, secureSessionID, prevUserStr); |
83 | 83 | ||
84 | return true; | 84 | return true; |
85 | } | 85 | } |
86 | 86 | ||
@@ -88,11 +88,11 @@ namespace OpenSim.Services.PresenceService | |||
88 | { | 88 | { |
89 | PresenceInfo presence = GetAgent(sessionID); | 89 | PresenceInfo presence = GetAgent(sessionID); |
90 | 90 | ||
91 | m_log.InfoFormat("[PRESENCE SERVICE]: LogoutAgent: session {0}, user {1}, region {2}", | 91 | m_log.DebugFormat("[PRESENCE SERVICE]: LogoutAgent: session {0}, user {1}, region {2}", |
92 | sessionID, | 92 | sessionID, |
93 | (presence == null) ? null : presence.UserID, | 93 | (presence == null) ? null : presence.UserID, |
94 | (presence == null) ? null : presence.RegionID.ToString()); | 94 | (presence == null) ? null : presence.RegionID.ToString()); |
95 | 95 | ||
96 | return m_Database.Delete("SessionID", sessionID.ToString()); | 96 | return m_Database.Delete("SessionID", sessionID.ToString()); |
97 | } | 97 | } |
98 | 98 | ||
@@ -144,7 +144,7 @@ namespace OpenSim.Services.PresenceService | |||
144 | public PresenceInfo GetAgent(UUID sessionID) | 144 | public PresenceInfo GetAgent(UUID sessionID) |
145 | { | 145 | { |
146 | PresenceInfo ret = new PresenceInfo(); | 146 | PresenceInfo ret = new PresenceInfo(); |
147 | 147 | ||
148 | PresenceData data = m_Database.Get(sessionID); | 148 | PresenceData data = m_Database.Get(sessionID); |
149 | if (data == null) | 149 | if (data == null) |
150 | return null; | 150 | return null; |