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

avinationmerge
Diva Canto 2013-04-24 19:00:41 -07:00 committed by Melanie
parent 3934b779b8
commit 2093d87e20
1 changed files with 1 additions and 2 deletions

View File

@ -278,8 +278,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)