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) if (sp.IsChildAgent)
return; return;
sp.ControllingClient.Kick(reason); sp.ControllingClient.Kick(reason);
sp.MakeChildAgent(); sp.Scene.IncomingCloseAgent(sp.UUID, true);
sp.ControllingClient.Close();
} }
private void OnIncomingInstantMessage(GridInstantMessage msg) private void OnIncomingInstantMessage(GridInstantMessage msg)