From a3851b3812aae6221714b1e61656d0853fce7124 Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Sun, 20 Jan 2008 23:08:50 +0000 Subject: * Added hooks for logout to all IUserService and all that implement it. * Added a Logout message with a name on the console * Added a *fixme* message to figure out why the current agent session is null * After updating you may notice that there's a login and also a logout --- OpenSim/Region/Environment/Scenes/Scene.cs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'OpenSim/Region/Environment/Scenes') diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 76f6c60..2f961c1 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs @@ -1285,6 +1285,9 @@ namespace OpenSim.Region.Environment.Scenes else { m_innerScene.removeUserCount(true); + CommsManager.LogOffUser(agentID, RegionInfo.RegionID, RegionInfo.RegionHandle, + avatar.AbsolutePosition.X, avatar.AbsolutePosition.Y, + avatar.AbsolutePosition.Z); } } catch (NullReferenceException) -- cgit v1.1