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