diff options
author | Diva Canto | 2012-11-27 14:42:28 -0800 |
---|---|---|
committer | Diva Canto | 2012-11-27 14:42:28 -0800 |
commit | 2cd88787af52213e1f0b2d863b75e35ca83e8032 (patch) | |
tree | 4ea30b4455bdfebc10d1b7df0099d2d688bd242c /OpenSim/Region | |
parent | Remove old InventoryService, which has for a long time been replaced by XInve... (diff) | |
download | opensim-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 '')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Groups/GroupsModule.cs | 3 |
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 | } |