Little bug fix on the Groups module to get over an exception upon login.

0.6.5-rc1
diva 2009-04-18 22:31:38 +00:00
parent 659b55905d
commit 5ae8ad55cd
1 changed files with 3 additions and 1 deletions

View File

@ -123,8 +123,10 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups
public void AddRegion(Scene scene)
{
scene.RegisterModuleInterface<IGroupsModule>(this);
if (m_GroupsEnabled)
scene.RegisterModuleInterface<IGroupsModule>(this);
}
public void RegionLoaded(Scene scene)
{
if (m_debugEnabled) m_log.InfoFormat("[GROUPS] {0} called", System.Reflection.MethodBase.GetCurrentMethod().Name);