Change default groups messaging module in hardcode to the empty string.

Modules should not assume thet they are the one and only, but only be
enabled when explicitly configured.
This commit is contained in:
Melanie
2011-10-12 09:21:46 +01:00
parent fe3594c5ea
commit ca74088d94

View File

@@ -70,7 +70,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups
// if groups aren't enabled, we're not needed.
// if we're not specified as the connector to use, then we're not wanted
if ((groupsConfig.GetBoolean("Enabled", false) == false)
|| (groupsConfig.GetString("MessagingModule", "GroupsMessagingModule") != Name))
|| (groupsConfig.GetString("MessagingModule", "") != Name))
{
m_groupMessagingEnabled = false;
return;