aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
authorDiva Canto2013-07-13 21:28:46 -0700
committerDiva Canto2013-07-13 21:28:46 -0700
commitb4f1b9acf65f9e782d56602e60c58be6145c5cca (patch)
tree33860eecce915dedd2c573f2d3aad026e63706bc /OpenSim/Region/Framework/Scenes/ScenePresence.cs
parentDeleted GET agent all around. Not used. (diff)
downloadopensim-SC-b4f1b9acf65f9e782d56602e60c58be6145c5cca.zip
opensim-SC-b4f1b9acf65f9e782d56602e60c58be6145c5cca.tar.gz
opensim-SC-b4f1b9acf65f9e782d56602e60c58be6145c5cca.tar.bz2
opensim-SC-b4f1b9acf65f9e782d56602e60c58be6145c5cca.tar.xz
Guard against unauthorized agent deletes.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index 11b15a7..5991a34 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -3167,7 +3167,11 @@ namespace OpenSim.Region.Framework.Scenes
3167 { 3167 {
3168 m_log.Debug("[SCENE PRESENCE]: Closing " + byebyeRegions.Count + " child agents"); 3168 m_log.Debug("[SCENE PRESENCE]: Closing " + byebyeRegions.Count + " child agents");
3169 3169
3170 m_scene.SceneGridService.SendCloseChildAgentConnections(ControllingClient.AgentId, byebyeRegions); 3170 AgentCircuitData acd = Scene.AuthenticateHandler.GetAgentCircuitData(UUID);
3171 string auth = string.Empty;
3172 if (acd != null)
3173 auth = Util.Md5Hash(acd.Id0);
3174 m_scene.SceneGridService.SendCloseChildAgentConnections(ControllingClient.AgentId, auth, byebyeRegions);
3171 } 3175 }
3172 3176
3173 foreach (ulong handle in byebyeRegions) 3177 foreach (ulong handle in byebyeRegions)