aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorBlueWall2013-06-07 20:09:10 -0400
committerBlueWall2013-06-07 20:09:10 -0400
commit138722482175ba7571f8086d9b9172c9975543a6 (patch)
tree437776c99b9313b3dcb44e6b53acbcda63157ed2
parentminor: add dr0berts to contributors list (diff)
downloadopensim-SC-138722482175ba7571f8086d9b9172c9975543a6.zip
opensim-SC-138722482175ba7571f8086d9b9172c9975543a6.tar.gz
opensim-SC-138722482175ba7571f8086d9b9172c9975543a6.tar.bz2
opensim-SC-138722482175ba7571f8086d9b9172c9975543a6.tar.xz
Ensure selected module is the only active one
-rw-r--r--OpenSim/Region/CoreModules/Avatar/Profile/BasicProfileModule.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Profile/BasicProfileModule.cs b/OpenSim/Region/CoreModules/Avatar/Profile/BasicProfileModule.cs
index bf24030..2bb24ae 100644
--- a/OpenSim/Region/CoreModules/Avatar/Profile/BasicProfileModule.cs
+++ b/OpenSim/Region/CoreModules/Avatar/Profile/BasicProfileModule.cs
@@ -57,6 +57,9 @@ namespace OpenSim.Region.CoreModules.Avatar.Profile
57 57
58 public void Initialise(IConfigSource config) 58 public void Initialise(IConfigSource config)
59 { 59 {
60 if(config.Configs["UserProfiles"] != null)
61 return;
62
60 m_log.DebugFormat("[PROFILE MODULE]: Basic Profile Module enabled"); 63 m_log.DebugFormat("[PROFILE MODULE]: Basic Profile Module enabled");
61 m_Enabled = true; 64 m_Enabled = true;
62 } 65 }