aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.cs
diff options
context:
space:
mode:
authorMelanie2012-06-08 00:43:39 +0100
committerMelanie2012-06-08 00:43:39 +0100
commit48add77a4c985858794c2c3a9d7ea63a31921528 (patch)
tree7757e425e3d9e93d742c51e3f39bee57be04546b /OpenSim/Region/Framework/Scenes/Scene.cs
parentMerge branch 'master' into careminster (diff)
parentGo back to calling IncomingCloseAgent() in the "kick user" command for consis... (diff)
downloadopensim-SC-48add77a4c985858794c2c3a9d7ea63a31921528.zip
opensim-SC-48add77a4c985858794c2c3a9d7ea63a31921528.tar.gz
opensim-SC-48add77a4c985858794c2c3a9d7ea63a31921528.tar.bz2
opensim-SC-48add77a4c985858794c2c3a9d7ea63a31921528.tar.xz
Merge branch 'master' into careminster
Conflicts: OpenSim/Region/Framework/Scenes/Scene.cs
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs10
1 files changed, 0 insertions, 10 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index a77f26b..a804e29 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -4233,16 +4233,6 @@ namespace OpenSim.Region.Framework.Scenes
4233 ScenePresence presence = m_sceneGraph.GetScenePresence(agentID); 4233 ScenePresence presence = m_sceneGraph.GetScenePresence(agentID);
4234 if (presence != null) 4234 if (presence != null)
4235 { 4235 {
4236 // Nothing is removed here, so down count it as such
4237 if (presence.IsChildAgent)
4238 {
4239 m_sceneGraph.removeUserCount(false);
4240 }
4241 else if (!childOnly)
4242 {
4243 m_sceneGraph.removeUserCount(true);
4244 }
4245
4246 presence.ControllingClient.Close(); 4236 presence.ControllingClient.Close();
4247 return true; 4237 return true;
4248 } 4238 }