diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar/Gods')
-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 9fa9be1..89a4d30 100644 --- a/OpenSim/Region/CoreModules/Avatar/Gods/GodsModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Gods/GodsModule.cs | |||
@@ -288,8 +288,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Gods | |||
288 | if (sp.IsChildAgent) | 288 | if (sp.IsChildAgent) |
289 | return; | 289 | return; |
290 | sp.ControllingClient.Kick(reason); | 290 | sp.ControllingClient.Kick(reason); |
291 | sp.MakeChildAgent(); | 291 | sp.Scene.IncomingCloseAgent(sp.UUID, true); |
292 | sp.ControllingClient.Close(); | ||
293 | } | 292 | } |
294 | 293 | ||
295 | private void OnIncomingInstantMessage(GridInstantMessage msg) | 294 | private void OnIncomingInstantMessage(GridInstantMessage msg) |