diff options
-rwxr-xr-x | OpenSim/Region/Framework/Scenes/Scene.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index e638d9a..a21b4f7 100755 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -4798,6 +4798,10 @@ Label_GroupsDone: | |||
4798 | if (sp != null) | 4798 | if (sp != null) |
4799 | { | 4799 | { |
4800 | sp.ControllingClient.Close(force, force); | 4800 | sp.ControllingClient.Close(force, force); |
4801 | |||
4802 | if(sp.IsNPC && UserManagementModule != null) | ||
4803 | UserManagementModule.RemoveUser(sp.UUID); | ||
4804 | |||
4801 | return true; | 4805 | return true; |
4802 | } | 4806 | } |
4803 | 4807 | ||