aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorDiva Canto2010-09-04 18:46:27 -0700
committerDiva Canto2010-09-04 18:46:27 -0700
commit68f107b27e37df88618993b8234316288782d15e (patch)
tree8e9e09667fbc7aff036d63ac883f8bc79470dd48 /OpenSim/Region
parentOne more debug message to track an issue on Danger grid. (diff)
downloadopensim-SC-68f107b27e37df88618993b8234316288782d15e.zip
opensim-SC-68f107b27e37df88618993b8234316288782d15e.tar.gz
opensim-SC-68f107b27e37df88618993b8234316288782d15e.tar.bz2
opensim-SC-68f107b27e37df88618993b8234316288782d15e.tar.xz
Logout the presence if client IP verification fails.
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs2
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