aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Server
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Server')
-rw-r--r--OpenSim/Server/Handlers/Simulation/AgentHandlers.cs26
1 files changed, 26 insertions, 0 deletions
diff --git a/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs b/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs
index c3545aa..a6dc287 100644
--- a/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs
+++ b/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs
@@ -110,6 +110,14 @@ namespace OpenSim.Server.Handlers.Simulation
110 DoAgentDelete(request, responsedata, agentID, action, regionID); 110 DoAgentDelete(request, responsedata, agentID, action, regionID);
111 return responsedata; 111 return responsedata;
112 } 112 }
113<<<<<<< HEAD:OpenSim/Server/Handlers/Simulation/AgentHandlers.cs
114 else if (method.Equals("DELETECHILD"))
115 {
116 DoChildAgentDelete(request, responsedata, agentID, action, regionID);
117 return responsedata;
118 }
119=======
120>>>>>>> master:OpenSim/Server/Handlers/Simulation/AgentHandlers.cs
113 else if (method.Equals("QUERYACCESS")) 121 else if (method.Equals("QUERYACCESS"))
114 { 122 {
115 DoQueryAccess(request, responsedata, agentID, regionID); 123 DoQueryAccess(request, responsedata, agentID, regionID);
@@ -394,6 +402,24 @@ namespace OpenSim.Server.Handlers.Simulation
394 } 402 }
395 } 403 }
396 404
405 protected void DoChildAgentDelete(Hashtable request, Hashtable responsedata, UUID id, string action, UUID regionID)
406 {
407 m_log.Debug(" >>> DoChildAgentDelete action:" + action + "; RegionID:" + regionID);
408
409 GridRegion destination = new GridRegion();
410 destination.RegionID = regionID;
411
412 if (action.Equals("release"))
413 ReleaseAgent(regionID, id);
414 else
415 m_SimulationService.CloseChildAgent(destination, id);
416
417 responsedata["int_response_code"] = HttpStatusCode.OK;
418 responsedata["str_response_string"] = "OpenSim agent " + id.ToString();
419
420 m_log.Debug("[AGENT HANDLER]: Child Agent Released/Deleted.");
421 }
422
397 protected void DoAgentDelete(Hashtable request, Hashtable responsedata, UUID id, string action, UUID regionID) 423 protected void DoAgentDelete(Hashtable request, Hashtable responsedata, UUID id, string action, UUID regionID)
398 { 424 {
399 m_log.Debug(" >>> DoDelete action:" + action + "; RegionID:" + regionID); 425 m_log.Debug(" >>> DoDelete action:" + action + "; RegionID:" + regionID);