diff options
author | BlueWall | 2013-06-07 20:09:10 -0400 |
---|---|---|
committer | BlueWall | 2013-06-07 20:09:10 -0400 |
commit | 138722482175ba7571f8086d9b9172c9975543a6 (patch) | |
tree | 437776c99b9313b3dcb44e6b53acbcda63157ed2 | |
parent | minor: add dr0berts to contributors list (diff) | |
download | opensim-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.cs | 3 |
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 | } |