From ac3154e6b7b83a8f1f5e27ac561af6105bb2c238 Mon Sep 17 00:00:00 2001 From: Homer Horwitz Date: Sun, 26 Apr 2009 18:26:01 +0000 Subject: - Setting groups-messaging module to by disabled by default (groups module already is). - Make sure it really is Close()d when the configuration isn't sane. --- .../OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsMessaging.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsMessaging.cs b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsMessaging.cs index b1322ab..2dbe237 100644 --- a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsMessaging.cs +++ b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsMessaging.cs @@ -63,7 +63,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups // Config Options - private bool m_groupMessagingEnabled = true; + private bool m_groupMessagingEnabled = false; private bool m_debugEnabled = true; #region IRegionModuleBase Members @@ -129,9 +129,9 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups // No groups module, no groups messaging if (m_groupsModule == null) { - m_groupMessagingEnabled = false; m_log.Error("[GROUPS-MESSAGING]: Could not get IGroupsModule, XmlRpcGroupsMessaging is now disabled."); Close(); + m_groupMessagingEnabled = false; return; } @@ -140,9 +140,9 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups // No message transfer module, no groups messaging if (m_msgTransferModule == null) { - m_groupMessagingEnabled = false; m_log.Error("[GROUPS-MESSAGING]: Could not get MessageTransferModule"); Close(); + m_groupMessagingEnabled = false; return; } -- cgit v1.1