diff options
author | Diva Canto | 2013-07-13 22:32:52 -0700 |
---|---|---|
committer | Diva Canto | 2013-07-13 22:32:52 -0700 |
commit | a2ee887c6d4cc0756b808353ad0183b1e7e29b74 (patch) | |
tree | eba81c27420b032b5b9ba3473ef6a13cea060ea2 | |
parent | Guard against unauthorized agent deletes. (diff) | |
download | opensim-SC_OLD-a2ee887c6d4cc0756b808353ad0183b1e7e29b74.zip opensim-SC_OLD-a2ee887c6d4cc0756b808353ad0183b1e7e29b74.tar.gz opensim-SC_OLD-a2ee887c6d4cc0756b808353ad0183b1e7e29b74.tar.bz2 opensim-SC_OLD-a2ee887c6d4cc0756b808353ad0183b1e7e29b74.tar.xz |
Deleted a line too many
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index becea1f..264aaa8 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -4311,7 +4311,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
4311 | 4311 | ||
4312 | ScenePresence presence = m_sceneGraph.GetScenePresence(agentID); | 4312 | ScenePresence presence = m_sceneGraph.GetScenePresence(agentID); |
4313 | if (presence != null) | 4313 | if (presence != null) |
4314 | { | ||
4314 | presence.ControllingClient.Close(force); | 4315 | presence.ControllingClient.Close(force); |
4316 | return true; | ||
4317 | } | ||
4315 | 4318 | ||
4316 | // Agent not here | 4319 | // Agent not here |
4317 | return false; | 4320 | return false; |