mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
Actually log users out (call LogoutAgent) in the SimianPresenceServiceConnector when LoggedOut() is called
This commit is contained in:
@@ -262,6 +262,12 @@ namespace OpenSim.Services.Connectors.SimianGrid
|
||||
|
||||
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
|
||||
NameValueCollection requestArgs = new NameValueCollection
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user