diff options
author | Teravus Ovares | 2008-01-20 23:08:50 +0000 |
---|---|---|
committer | Teravus Ovares | 2008-01-20 23:08:50 +0000 |
commit | a3851b3812aae6221714b1e61656d0853fce7124 (patch) | |
tree | 8867b4d6c433b0230f276f88a95625695fb71390 /OpenSim/Region/Environment | |
parent | Graceful failure of teleport to unavailable regions might actually work now. (diff) | |
download | opensim-SC_OLD-a3851b3812aae6221714b1e61656d0853fce7124.zip opensim-SC_OLD-a3851b3812aae6221714b1e61656d0853fce7124.tar.gz opensim-SC_OLD-a3851b3812aae6221714b1e61656d0853fce7124.tar.bz2 opensim-SC_OLD-a3851b3812aae6221714b1e61656d0853fce7124.tar.xz |
* 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 <user> and also a logout<user>
Diffstat (limited to 'OpenSim/Region/Environment')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 3 |
1 files changed, 3 insertions, 0 deletions
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 | |||
1285 | else | 1285 | else |
1286 | { | 1286 | { |
1287 | m_innerScene.removeUserCount(true); | 1287 | m_innerScene.removeUserCount(true); |
1288 | CommsManager.LogOffUser(agentID, RegionInfo.RegionID, RegionInfo.RegionHandle, | ||
1289 | avatar.AbsolutePosition.X, avatar.AbsolutePosition.Y, | ||
1290 | avatar.AbsolutePosition.Z); | ||
1288 | } | 1291 | } |
1289 | } | 1292 | } |
1290 | catch (NullReferenceException) | 1293 | catch (NullReferenceException) |