diff options
author | Justin Clark-Casey (justincc) | 2013-04-02 00:53:06 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-04-02 00:55:00 +0100 |
commit | 0dce4964991c24f9ae47fe04f52a92dcfd22dc1b (patch) | |
tree | 8992b7c8732bca9fe80e0c72af715133a5f50d7e /OpenSim/Region | |
parent | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff) | |
download | opensim-SC_OLD-0dce4964991c24f9ae47fe04f52a92dcfd22dc1b.zip opensim-SC_OLD-0dce4964991c24f9ae47fe04f52a92dcfd22dc1b.tar.gz opensim-SC_OLD-0dce4964991c24f9ae47fe04f52a92dcfd22dc1b.tar.bz2 opensim-SC_OLD-0dce4964991c24f9ae47fe04f52a92dcfd22dc1b.tar.xz |
Fix what appears to be a bug in HGUserManagementModule where it enables on the base.Name rather than its own Name.
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/UserManagement/HGUserManagementModule.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/UserManagement/HGUserManagementModule.cs b/OpenSim/Region/CoreModules/Framework/UserManagement/HGUserManagementModule.cs index 4ef57fe..8ce20e9 100644 --- a/OpenSim/Region/CoreModules/Framework/UserManagement/HGUserManagementModule.cs +++ b/OpenSim/Region/CoreModules/Framework/UserManagement/HGUserManagementModule.cs | |||
@@ -50,12 +50,11 @@ namespace OpenSim.Region.CoreModules.Framework.UserManagement | |||
50 | { | 50 | { |
51 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 51 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
52 | 52 | ||
53 | |||
54 | #region ISharedRegionModule | 53 | #region ISharedRegionModule |
55 | 54 | ||
56 | public new void Initialise(IConfigSource config) | 55 | public new void Initialise(IConfigSource config) |
57 | { | 56 | { |
58 | string umanmod = config.Configs["Modules"].GetString("UserManagementModule", base.Name); | 57 | string umanmod = config.Configs["Modules"].GetString("UserManagementModule", Name); |
59 | if (umanmod == Name) | 58 | if (umanmod == Name) |
60 | { | 59 | { |
61 | m_Enabled = true; | 60 | m_Enabled = true; |