aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups
diff options
context:
space:
mode:
authordiva2009-04-18 22:31:38 +0000
committerdiva2009-04-18 22:31:38 +0000
commit5ae8ad55cda56b023be0efced1a41387d4889783 (patch)
tree5756f3b83487230ef33ceaf1b21852c234ceaad0 /OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups
parentThank you kindly, MCortez, for a patch that: (diff)
downloadopensim-SC-5ae8ad55cda56b023be0efced1a41387d4889783.zip
opensim-SC-5ae8ad55cda56b023be0efced1a41387d4889783.tar.gz
opensim-SC-5ae8ad55cda56b023be0efced1a41387d4889783.tar.bz2
opensim-SC-5ae8ad55cda56b023be0efced1a41387d4889783.tar.xz
Little bug fix on the Groups module to get over an exception upon login.
Diffstat (limited to 'OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups')
-rw-r--r--OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsModule.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsModule.cs b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsModule.cs
index ca08fe2..6252d56 100644
--- a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsModule.cs
+++ b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsModule.cs
@@ -123,8 +123,10 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups
123 123
124 public void AddRegion(Scene scene) 124 public void AddRegion(Scene scene)
125 { 125 {
126 scene.RegisterModuleInterface<IGroupsModule>(this); 126 if (m_GroupsEnabled)
127 scene.RegisterModuleInterface<IGroupsModule>(this);
127 } 128 }
129
128 public void RegionLoaded(Scene scene) 130 public void RegionLoaded(Scene scene)
129 { 131 {
130 if (m_debugEnabled) m_log.InfoFormat("[GROUPS] {0} called", System.Reflection.MethodBase.GetCurrentMethod().Name); 132 if (m_debugEnabled) m_log.InfoFormat("[GROUPS] {0} called", System.Reflection.MethodBase.GetCurrentMethod().Name);