aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorHomer Horwitz2009-04-26 18:26:01 +0000
committerHomer Horwitz2009-04-26 18:26:01 +0000
commitac3154e6b7b83a8f1f5e27ac561af6105bb2c238 (patch)
treebb7baf7730c416900238e3ba7770e388763e320a
parentRemove some debug messages I have forgotten to take out. (diff)
downloadopensim-SC-ac3154e6b7b83a8f1f5e27ac561af6105bb2c238.zip
opensim-SC-ac3154e6b7b83a8f1f5e27ac561af6105bb2c238.tar.gz
opensim-SC-ac3154e6b7b83a8f1f5e27ac561af6105bb2c238.tar.bz2
opensim-SC-ac3154e6b7b83a8f1f5e27ac561af6105bb2c238.tar.xz
- 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.
-rw-r--r--OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsMessaging.cs6
1 files 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
63 63
64 64
65 // Config Options 65 // Config Options
66 private bool m_groupMessagingEnabled = true; 66 private bool m_groupMessagingEnabled = false;
67 private bool m_debugEnabled = true; 67 private bool m_debugEnabled = true;
68 68
69 #region IRegionModuleBase Members 69 #region IRegionModuleBase Members
@@ -129,9 +129,9 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups
129 // No groups module, no groups messaging 129 // No groups module, no groups messaging
130 if (m_groupsModule == null) 130 if (m_groupsModule == null)
131 { 131 {
132 m_groupMessagingEnabled = false;
133 m_log.Error("[GROUPS-MESSAGING]: Could not get IGroupsModule, XmlRpcGroupsMessaging is now disabled."); 132 m_log.Error("[GROUPS-MESSAGING]: Could not get IGroupsModule, XmlRpcGroupsMessaging is now disabled.");
134 Close(); 133 Close();
134 m_groupMessagingEnabled = false;
135 return; 135 return;
136 } 136 }
137 137
@@ -140,9 +140,9 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups
140 // No message transfer module, no groups messaging 140 // No message transfer module, no groups messaging
141 if (m_msgTransferModule == null) 141 if (m_msgTransferModule == null)
142 { 142 {
143 m_groupMessagingEnabled = false;
144 m_log.Error("[GROUPS-MESSAGING]: Could not get MessageTransferModule"); 143 m_log.Error("[GROUPS-MESSAGING]: Could not get MessageTransferModule");
145 Close(); 144 Close();
145 m_groupMessagingEnabled = false;
146 return; 146 return;
147 } 147 }
148 148