aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/PrimLimitsModule
diff options
context:
space:
mode:
authorDiva Canto2013-03-01 15:24:22 -0800
committerDiva Canto2013-03-01 15:24:22 -0800
commit20530ee66723faa78ab8cf93c096fa4626c3c701 (patch)
treee7db0a6b62689a80d97aadabac8cbaac016ccfaa /OpenSim/Region/OptionalModules/PrimLimitsModule
parentRemoved more vars from [Startup]. I think these were already moved elsewhere,... (diff)
downloadopensim-SC_OLD-20530ee66723faa78ab8cf93c096fa4626c3c701.zip
opensim-SC_OLD-20530ee66723faa78ab8cf93c096fa4626c3c701.tar.gz
opensim-SC_OLD-20530ee66723faa78ab8cf93c096fa4626c3c701.tar.bz2
opensim-SC_OLD-20530ee66723faa78ab8cf93c096fa4626c3c701.tar.xz
Moved permissions config vars out of [Startup] into [Permissions]. Backwards compatible ([Startup] still being looked up), but please update your configs sometime soon.
Diffstat (limited to 'OpenSim/Region/OptionalModules/PrimLimitsModule')
-rw-r--r--OpenSim/Region/OptionalModules/PrimLimitsModule/PrimLimitsModule.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/OptionalModules/PrimLimitsModule/PrimLimitsModule.cs b/OpenSim/Region/OptionalModules/PrimLimitsModule/PrimLimitsModule.cs
index c1957e2..a6d43f1 100644
--- a/OpenSim/Region/OptionalModules/PrimLimitsModule/PrimLimitsModule.cs
+++ b/OpenSim/Region/OptionalModules/PrimLimitsModule/PrimLimitsModule.cs
@@ -57,9 +57,10 @@ namespace OpenSim.Region.OptionalModules
57 57
58 public void Initialise(IConfigSource config) 58 public void Initialise(IConfigSource config)
59 { 59 {
60 IConfig myConfig = config.Configs["Startup"]; 60 //IConfig myConfig = config.Configs["Startup"];
61 61
62 string permissionModules = myConfig.GetString("permissionmodules", "DefaultPermissionsModule"); 62 string permissionModules = Util.GetConfigVarFromSections<string>(config, "permissionmodules",
63 new string[] { "Startup", "Permissions" }, "DefaultPermissionsModule");
63 64
64 List<string> modules=new List<string>(permissionModules.Split(',')); 65 List<string> modules=new List<string>(permissionModules.Split(','));
65 66