diff options
author | diva | 2009-04-18 22:31:38 +0000 |
---|---|---|
committer | diva | 2009-04-18 22:31:38 +0000 |
commit | 5ae8ad55cda56b023be0efced1a41387d4889783 (patch) | |
tree | 5756f3b83487230ef33ceaf1b21852c234ceaad0 | |
parent | Thank you kindly, MCortez, for a patch that: (diff) | |
download | opensim-SC_OLD-5ae8ad55cda56b023be0efced1a41387d4889783.zip opensim-SC_OLD-5ae8ad55cda56b023be0efced1a41387d4889783.tar.gz opensim-SC_OLD-5ae8ad55cda56b023be0efced1a41387d4889783.tar.bz2 opensim-SC_OLD-5ae8ad55cda56b023be0efced1a41387d4889783.tar.xz |
Little bug fix on the Groups module to get over an exception upon login.
-rw-r--r-- | OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsModule.cs | 4 |
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); |