mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 22:05:36 +08:00
Remove NPCs from UserManagement when removed
This commit is contained in:
@@ -4798,6 +4798,10 @@ Label_GroupsDone:
|
||||
if (sp != null)
|
||||
{
|
||||
sp.ControllingClient.Close(force, force);
|
||||
|
||||
if(sp.IsNPC && UserManagementModule != null)
|
||||
UserManagementModule.RemoveUser(sp.UUID);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user