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

This commit is contained in:
Diva Canto
2012-11-27 14:42:28 -08:00
parent 5b79bfc4df
commit 2cd88787af

View File

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