Fix what appears to be a bug in HGUserManagementModule where it enables on the base.Name rather than its own Name.

user_profiles
Justin Clark-Casey (justincc) 2013-04-02 00:53:06 +01:00
parent 600087ab49
commit 0dce496499
1 changed files with 1 additions and 2 deletions

View File

@ -50,12 +50,11 @@ namespace OpenSim.Region.CoreModules.Framework.UserManagement
{
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
#region ISharedRegionModule
public new void Initialise(IConfigSource config)
{
string umanmod = config.Configs["Modules"].GetString("UserManagementModule", base.Name);
string umanmod = config.Configs["Modules"].GetString("UserManagementModule", Name);
if (umanmod == Name)
{
m_Enabled = true;