aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application/OpenSimMain.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Application/OpenSimMain.cs')
-rw-r--r--OpenSim/Region/Application/OpenSimMain.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/Region/Application/OpenSimMain.cs b/OpenSim/Region/Application/OpenSimMain.cs
index 887db67..9f95e01 100644
--- a/OpenSim/Region/Application/OpenSimMain.cs
+++ b/OpenSim/Region/Application/OpenSimMain.cs
@@ -320,6 +320,17 @@ namespace OpenSim
320 } 320 }
321 break; 321 break;
322 322
323 case "permissions":
324 // Treats each user as a super-admin when disabled
325 foreach (Scene scene in m_localScenes)
326 {
327 if (Convert.ToBoolean(cmdparams[0]))
328 scene.PermissionsMngr.EnablePermissions();
329 else
330 scene.PermissionsMngr.DisablePermissions();
331 }
332 break;
333
323 case "backup": 334 case "backup":
324 foreach (Scene scene in m_localScenes) 335 foreach (Scene scene in m_localScenes)
325 { 336 {