diff options
author | Melanie Thielker | 2009-05-14 21:38:17 +0000 |
---|---|---|
committer | Melanie Thielker | 2009-05-14 21:38:17 +0000 |
commit | 786ff98f6decce315e8cdf160b806237b00cc4ed (patch) | |
tree | ee590659cd8731feeecf682c6f2fe9c6de670fd8 /OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsModule.cs | |
parent | Remove a misleading event that was only used internally (diff) | |
download | opensim-SC-786ff98f6decce315e8cdf160b806237b00cc4ed.zip opensim-SC-786ff98f6decce315e8cdf160b806237b00cc4ed.tar.gz opensim-SC-786ff98f6decce315e8cdf160b806237b00cc4ed.tar.bz2 opensim-SC-786ff98f6decce315e8cdf160b806237b00cc4ed.tar.xz |
Remove all messages from the groups module that would be output when it is
NOT enabled.
Diffstat (limited to 'OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsModule.cs')
-rw-r--r-- | OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsModule.cs | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsModule.cs b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsModule.cs index 88f8038..40481a8 100644 --- a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsModule.cs +++ b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsModule.cs | |||
@@ -102,12 +102,9 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups | |||
102 | { | 102 | { |
103 | IConfig groupsConfig = config.Configs["Groups"]; | 103 | IConfig groupsConfig = config.Configs["Groups"]; |
104 | 104 | ||
105 | m_log.Info("[GROUPS]: Initializing XmlRpcGroups"); | ||
106 | |||
107 | if (groupsConfig == null) | 105 | if (groupsConfig == null) |
108 | { | 106 | { |
109 | // Do not run this module by default. | 107 | // Do not run this module by default. |
110 | m_log.Info("[GROUPS]: No config found in OpenSim.ini -- not enabling XmlRpcGroups"); | ||
111 | return; | 108 | return; |
112 | } | 109 | } |
113 | else | 110 | else |
@@ -115,18 +112,18 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups | |||
115 | m_groupsEnabled = groupsConfig.GetBoolean("Enabled", false); | 112 | m_groupsEnabled = groupsConfig.GetBoolean("Enabled", false); |
116 | if (!m_groupsEnabled) | 113 | if (!m_groupsEnabled) |
117 | { | 114 | { |
118 | m_log.Info("[GROUPS]: Groups disabled in configuration"); | ||
119 | return; | 115 | return; |
120 | } | 116 | } |
121 | 117 | ||
122 | if (groupsConfig.GetString("Module", "Default") != "XmlRpcGroups") | 118 | if (groupsConfig.GetString("Module", "Default") != "XmlRpcGroups") |
123 | { | 119 | { |
124 | m_log.Info("[GROUPS]: Config Groups Module not set to XmlRpcGroups"); | ||
125 | m_groupsEnabled = false; | 120 | m_groupsEnabled = false; |
126 | 121 | ||
127 | return; | 122 | return; |
128 | } | 123 | } |
129 | 124 | ||
125 | m_log.Info("[GROUPS]: Initializing XmlRpcGroups"); | ||
126 | |||
130 | string ServiceURL = groupsConfig.GetString("XmlRpcServiceURL", m_defaultXmlRpcServiceURL); | 127 | string ServiceURL = groupsConfig.GetString("XmlRpcServiceURL", m_defaultXmlRpcServiceURL); |
131 | bool DisableKeepAlive = groupsConfig.GetBoolean("XmlRpcDisableKeepAlive", false); | 128 | bool DisableKeepAlive = groupsConfig.GetBoolean("XmlRpcDisableKeepAlive", false); |
132 | 129 | ||