Fix bug where both ordinary UserManagementModule and HGUserManagementModules were being added to scenes if no UserManagementModule was specified.
Without explicit config non-hg UMM is used - this is in common with other HG modules. This was causing a non-HG module to unpredictably use the UMM or HGUMM, though lack of bug reports suggest either UMM was always used or it didn't matter in this case.user_profiles
parent
7d38f4940c
commit
28548ab347
|
@ -54,7 +54,7 @@ namespace OpenSim.Region.CoreModules.Framework.UserManagement
|
||||||
|
|
||||||
public new void Initialise(IConfigSource config)
|
public new void Initialise(IConfigSource config)
|
||||||
{
|
{
|
||||||
string umanmod = config.Configs["Modules"].GetString("UserManagementModule", Name);
|
string umanmod = config.Configs["Modules"].GetString("UserManagementModule", null);
|
||||||
if (umanmod == Name)
|
if (umanmod == Name)
|
||||||
{
|
{
|
||||||
m_Enabled = true;
|
m_Enabled = true;
|
||||||
|
|
Loading…
Reference in New Issue