Actually log users out (call LogoutAgent) in the SimianPresenceServiceConnector when LoggedOut() is called

viewer-2-initial-appearance
John Hurliman 2010-09-29 15:14:13 -07:00
parent 1255c7ceb6
commit 08ee7a0e51
1 changed files with 6 additions and 0 deletions

View File

@ -262,6 +262,12 @@ namespace OpenSim.Services.Connectors.SimianGrid
public bool LoggedOut(string userID, UUID sessionID, UUID regionID, Vector3 lastPosition, Vector3 lastLookAt) public bool LoggedOut(string userID, UUID sessionID, UUID regionID, Vector3 lastPosition, Vector3 lastLookAt)
{ {
m_log.DebugFormat("[SIMIAN PRESENCE CONNECTOR]: Logging out user " + userID);
// Remove the session to mark this user offline
if (!LogoutAgent(sessionID))
return false;
// Save our last position as user data // Save our last position as user data
NameValueCollection requestArgs = new NameValueCollection NameValueCollection requestArgs = new NameValueCollection
{ {