Ensure selected module is the only active one

cpu-performance
BlueWall 2013-06-07 20:09:10 -04:00
parent 346eda27cc
commit 1387224821
1 changed files with 3 additions and 0 deletions

View File

@ -57,6 +57,9 @@ namespace OpenSim.Region.CoreModules.Avatar.Profile
public void Initialise(IConfigSource config) public void Initialise(IConfigSource config)
{ {
if(config.Configs["UserProfiles"] != null)
return;
m_log.DebugFormat("[PROFILE MODULE]: Basic Profile Module enabled"); m_log.DebugFormat("[PROFILE MODULE]: Basic Profile Module enabled");
m_Enabled = true; m_Enabled = true;
} }