diff options
Diffstat (limited to '')
-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 d2e71a7..fa8c3f3 100644 --- a/OpenSim/Region/CoreModules/Avatar/Gods/GodsModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Gods/GodsModule.cs | |||
@@ -278,8 +278,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Gods | |||
278 | if (sp.IsChildAgent) | 278 | if (sp.IsChildAgent) |
279 | return; | 279 | return; |
280 | sp.ControllingClient.Kick(reason); | 280 | sp.ControllingClient.Kick(reason); |
281 | sp.MakeChildAgent(); | 281 | sp.Scene.IncomingCloseAgent(sp.UUID, true); |
282 | sp.ControllingClient.Close(); | ||
283 | } | 282 | } |
284 | 283 | ||
285 | private void OnIncomingInstantMessage(GridInstantMessage msg) | 284 | private void OnIncomingInstantMessage(GridInstantMessage msg) |