aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs9
1 files changed, 6 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index 40cfb72..b2592d4 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -4083,16 +4083,19 @@ namespace OpenSim.Region.Framework.Scenes
4083 /// <summary> 4083 /// <summary>
4084 /// Tell a single agent to disconnect from the region. 4084 /// Tell a single agent to disconnect from the region.
4085 /// </summary> 4085 /// </summary>
4086 /// <param name="regionHandle"></param>
4087 /// <param name="agentID"></param> 4086 /// <param name="agentID"></param>
4088 public bool IncomingCloseAgent(UUID agentID) 4087 /// <param name="force">
4088 /// Force the agent to close even if it might be in the middle of some other operation. You do not want to
4089 /// force unless you are absolutely sure that the agent is dead and a normal close is not working.
4090 /// </param>
4091 public bool IncomingCloseAgent(UUID agentID, bool force)
4089 { 4092 {
4090 //m_log.DebugFormat("[SCENE]: Processing incoming close agent for {0}", agentID); 4093 //m_log.DebugFormat("[SCENE]: Processing incoming close agent for {0}", agentID);
4091 4094
4092 ScenePresence presence = m_sceneGraph.GetScenePresence(agentID); 4095 ScenePresence presence = m_sceneGraph.GetScenePresence(agentID);
4093 if (presence != null) 4096 if (presence != null)
4094 { 4097 {
4095 presence.ControllingClient.Close(); 4098 presence.ControllingClient.Close(force);
4096 return true; 4099 return true;
4097 } 4100 }
4098 4101