Make the kicked user's avie truly disappear when it's god-kicked.

user_profiles
Diva Canto 2013-04-24 19:00:41 -07:00
parent ec4f981f1d
commit 0e22021c65
1 changed files with 1 additions and 2 deletions

View File

@ -276,8 +276,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Gods
if (sp.IsChildAgent)
return;
sp.ControllingClient.Kick(reason);
sp.MakeChildAgent();
sp.ControllingClient.Close();
sp.Scene.IncomingCloseAgent(sp.UUID, true);
}
private void OnIncomingInstantMessage(GridInstantMessage msg)