mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
Little bug fix on the Groups module to get over an exception upon login.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user