diff options
author | John Hurliman | 2010-09-29 15:14:13 -0700 |
---|---|---|
committer | John Hurliman | 2010-09-29 15:14:13 -0700 |
commit | 08ee7a0e51a86e0a65c821e28eceaedaae9f009d (patch) | |
tree | e23662b0485182eb155a0a660384f518bcac4fb7 /OpenSim/Services/Connectors | |
parent | Cleanup: Removed an unreferenced variable from ActivityDetector.cs (diff) | |
download | opensim-SC_OLD-08ee7a0e51a86e0a65c821e28eceaedaae9f009d.zip opensim-SC_OLD-08ee7a0e51a86e0a65c821e28eceaedaae9f009d.tar.gz opensim-SC_OLD-08ee7a0e51a86e0a65c821e28eceaedaae9f009d.tar.bz2 opensim-SC_OLD-08ee7a0e51a86e0a65c821e28eceaedaae9f009d.tar.xz |
Actually log users out (call LogoutAgent) in the SimianPresenceServiceConnector when LoggedOut() is called
Diffstat (limited to 'OpenSim/Services/Connectors')
-rw-r--r-- | OpenSim/Services/Connectors/SimianGrid/SimianPresenceServiceConnector.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Services/Connectors/SimianGrid/SimianPresenceServiceConnector.cs b/OpenSim/Services/Connectors/SimianGrid/SimianPresenceServiceConnector.cs index a41c6ad..8141420 100644 --- a/OpenSim/Services/Connectors/SimianGrid/SimianPresenceServiceConnector.cs +++ b/OpenSim/Services/Connectors/SimianGrid/SimianPresenceServiceConnector.cs | |||
@@ -262,6 +262,12 @@ namespace OpenSim.Services.Connectors.SimianGrid | |||
262 | 262 | ||
263 | public bool LoggedOut(string userID, UUID sessionID, UUID regionID, Vector3 lastPosition, Vector3 lastLookAt) | 263 | public bool LoggedOut(string userID, UUID sessionID, UUID regionID, Vector3 lastPosition, Vector3 lastLookAt) |
264 | { | 264 | { |
265 | m_log.DebugFormat("[SIMIAN PRESENCE CONNECTOR]: Logging out user " + userID); | ||
266 | |||
267 | // Remove the session to mark this user offline | ||
268 | if (!LogoutAgent(sessionID)) | ||
269 | return false; | ||
270 | |||
265 | // Save our last position as user data | 271 | // Save our last position as user data |
266 | NameValueCollection requestArgs = new NameValueCollection | 272 | NameValueCollection requestArgs = new NameValueCollection |
267 | { | 273 | { |