diff options
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Gods/GodsModule.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Gods/GodsModule.cs b/OpenSim/Region/CoreModules/Avatar/Gods/GodsModule.cs index d9badcd..16673ec 100644 --- a/OpenSim/Region/CoreModules/Avatar/Gods/GodsModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Gods/GodsModule.cs | |||
@@ -276,8 +276,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Gods | |||
276 | if (sp.IsChildAgent) | 276 | if (sp.IsChildAgent) |
277 | return; | 277 | return; |
278 | sp.ControllingClient.Kick(reason); | 278 | sp.ControllingClient.Kick(reason); |
279 | sp.MakeChildAgent(); | 279 | sp.Scene.IncomingCloseAgent(sp.UUID, true); |
280 | sp.ControllingClient.Close(); | ||
281 | } | 280 | } |
282 | 281 | ||
283 | private void OnIncomingInstantMessage(GridInstantMessage msg) | 282 | private void OnIncomingInstantMessage(GridInstantMessage msg) |