aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorDiva Canto2012-11-27 14:42:28 -0800
committerDiva Canto2012-11-27 14:42:28 -0800
commit2cd88787af52213e1f0b2d863b75e35ca83e8032 (patch)
tree4ea30b4455bdfebc10d1b7df0099d2d688bd242c /OpenSim
parentRemove old InventoryService, which has for a long time been replaced by XInve... (diff)
downloadopensim-SC_OLD-2cd88787af52213e1f0b2d863b75e35ca83e8032.zip
opensim-SC_OLD-2cd88787af52213e1f0b2d863b75e35ca83e8032.tar.gz
opensim-SC_OLD-2cd88787af52213e1f0b2d863b75e35ca83e8032.tar.bz2
opensim-SC_OLD-2cd88787af52213e1f0b2d863b75e35ca83e8032.tar.xz
Prevent the core Groups module from being enabled when its name doesn't match the "default" ini choice
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/CoreModules/Avatar/Groups/GroupsModule.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Groups/GroupsModule.cs b/OpenSim/Region/CoreModules/Avatar/Groups/GroupsModule.cs
index af54c1a..b735c61 100644
--- a/OpenSim/Region/CoreModules/Avatar/Groups/GroupsModule.cs
+++ b/OpenSim/Region/CoreModules/Avatar/Groups/GroupsModule.cs
@@ -81,7 +81,10 @@ namespace OpenSim.Region.CoreModules.Avatar.Groups
81 } 81 }
82 82
83 if (groupsConfig.GetString("Module", "Default") != "Default") 83 if (groupsConfig.GetString("Module", "Default") != "Default")
84 {
85 m_Enabled = false;
84 return; 86 return;
87 }
85 } 88 }
86 89
87 } 90 }