mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 03:45:35 +08:00
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()
This commit is contained in:
@@ -272,7 +272,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Gods
|
||||
if (sp.IsChildAgent)
|
||||
return;
|
||||
sp.ControllingClient.Kick(reason);
|
||||
sp.Scene.IncomingCloseAgent(sp.UUID, true);
|
||||
sp.Scene.CloseAgent(sp.UUID, true);
|
||||
}
|
||||
|
||||
private void OnIncomingInstantMessage(GridInstantMessage msg)
|
||||
|
||||
Reference in New Issue
Block a user