aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application/OpenSim.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2013-09-27 19:14:21 +0100
committerJustin Clark-Casey (justincc)2013-09-27 19:14:21 +0100
commitb16bc7b01ca0691758e66f85238d657f02271082 (patch)
tree4e121ace10b7dee25e1311268a84d3e95946f6f9 /OpenSim/Region/Application/OpenSim.cs
parentminor code formatting for the sake of consistency and readability (diff)
downloadopensim-SC_OLD-b16bc7b01ca0691758e66f85238d657f02271082.zip
opensim-SC_OLD-b16bc7b01ca0691758e66f85238d657f02271082.tar.gz
opensim-SC_OLD-b16bc7b01ca0691758e66f85238d657f02271082.tar.bz2
opensim-SC_OLD-b16bc7b01ca0691758e66f85238d657f02271082.tar.xz
refactor: rename Scene.IncomingCloseAgent() to CloseAgent() in order to make it clear that all non-clientstack callers should be using this rather than RemoveClient() in order to step through the ScenePresence state machine properly.
Adds IScene.CloseAgent() to replace RemoveClient()
Diffstat (limited to 'OpenSim/Region/Application/OpenSim.cs')
-rw-r--r--OpenSim/Region/Application/OpenSim.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs
index a7fe226..12250df 100644
--- a/OpenSim/Region/Application/OpenSim.cs
+++ b/OpenSim/Region/Application/OpenSim.cs
@@ -452,7 +452,7 @@ namespace OpenSim
452 else 452 else
453 presence.ControllingClient.Kick("\nThe OpenSim manager kicked you out.\n"); 453 presence.ControllingClient.Kick("\nThe OpenSim manager kicked you out.\n");
454 454
455 presence.Scene.IncomingCloseAgent(presence.UUID, force); 455 presence.Scene.CloseAgent(presence.UUID, force);
456 break; 456 break;
457 } 457 }
458 } 458 }