Prevent the core Groups module from being enabled when its name doesn't match the "default" ini choice

integration
Diva Canto 2012-11-27 14:42:28 -08:00
parent 5b79bfc4df
commit 2cd88787af
1 changed files with 3 additions and 0 deletions

View File

@ -81,8 +81,11 @@ namespace OpenSim.Region.CoreModules.Avatar.Groups
} }
if (groupsConfig.GetString("Module", "Default") != "Default") if (groupsConfig.GetString("Module", "Default") != "Default")
{
m_Enabled = false;
return; return;
} }
}
} }