aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/World
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Modules/World')
-rw-r--r--OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs b/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs
index 44f5c2d..8278a1d 100644
--- a/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs
+++ b/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs
@@ -28,6 +28,8 @@
28using libsecondlife; 28using libsecondlife;
29using Nini.Config; 29using Nini.Config;
30using System; 30using System;
31using System.Collections;
32using System.Collections.Generic;
31using System.Reflection; 33using System.Reflection;
32using log4net; 34using log4net;
33using OpenSim.Region.Environment.Interfaces; 35using OpenSim.Region.Environment.Interfaces;
@@ -143,6 +145,13 @@ namespace OpenSim.Region.Environment.Modules.World.Permissions
143 145
144 IConfig myConfig = config.Configs["Startup"]; 146 IConfig myConfig = config.Configs["Startup"];
145 147
148 string permissionModules = myConfig.GetString("permissionmodules", "DefaultPermissionsModule");
149
150 List<string> modules=new List<string>(permissionModules.Split(','));
151
152 if(!modules.Contains("DefaultPermissionsModule"))
153 return;
154
146 m_bypassPermissions = !myConfig.GetBoolean("serverside_object_permissions", true); 155 m_bypassPermissions = !myConfig.GetBoolean("serverside_object_permissions", true);
147 156
148 m_scene.RegisterModuleInterface<IScenePermissions>(this); 157 m_scene.RegisterModuleInterface<IScenePermissions>(this);