diff options
author | Diva Canto | 2010-09-04 18:46:27 -0700 |
---|---|---|
committer | Diva Canto | 2010-09-04 18:46:27 -0700 |
commit | 68f107b27e37df88618993b8234316288782d15e (patch) | |
tree | 8e9e09667fbc7aff036d63ac883f8bc79470dd48 /OpenSim/Region/Framework/Scenes/Scene.cs | |
parent | One more debug message to track an issue on Danger grid. (diff) | |
download | opensim-SC_OLD-68f107b27e37df88618993b8234316288782d15e.zip opensim-SC_OLD-68f107b27e37df88618993b8234316288782d15e.tar.gz opensim-SC_OLD-68f107b27e37df88618993b8234316288782d15e.tar.bz2 opensim-SC_OLD-68f107b27e37df88618993b8234316288782d15e.tar.xz |
Logout the presence if client IP verification fails.
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 | ||