diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 56ac2c2..49f29ad 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -2643,6 +2643,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
2643 | try | 2643 | try |
2644 | { | 2644 | { |
2645 | ScenePresence sp = GetScenePresence(agentID); | 2645 | ScenePresence sp = GetScenePresence(agentID); |
2646 | PresenceService.LogoutAgent(sp.ControllingClient.SessionId); | ||
2647 | |||
2646 | if (sp != null) | 2648 | if (sp != null) |
2647 | sp.ControllingClient.Close(); | 2649 | sp.ControllingClient.Close(); |
2648 | 2650 | ||