aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/GridService/HypergridLinker.cs
diff options
context:
space:
mode:
authorMelanie2011-10-12 16:45:48 +0100
committerMelanie2011-10-12 16:45:48 +0100
commit35def547f7b53312a280d3786b9196688d335382 (patch)
tree81a301bbb251e8a5e4b06e37eead59f0f30cb04f /OpenSim/Services/GridService/HypergridLinker.cs
parentDisable Flotsam groups messaging module in our config base (diff)
parentMake it possible to disable the HG linker. On non-HG systems it spits yellow (diff)
downloadopensim-SC-35def547f7b53312a280d3786b9196688d335382.zip
opensim-SC-35def547f7b53312a280d3786b9196688d335382.tar.gz
opensim-SC-35def547f7b53312a280d3786b9196688d335382.tar.bz2
opensim-SC-35def547f7b53312a280d3786b9196688d335382.tar.xz
Merge branch 'master' into bigmerge
Diffstat (limited to 'OpenSim/Services/GridService/HypergridLinker.cs')
-rw-r--r--OpenSim/Services/GridService/HypergridLinker.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Services/GridService/HypergridLinker.cs b/OpenSim/Services/GridService/HypergridLinker.cs
index 186ca71..b70b425 100644
--- a/OpenSim/Services/GridService/HypergridLinker.cs
+++ b/OpenSim/Services/GridService/HypergridLinker.cs
@@ -102,6 +102,13 @@ namespace OpenSim.Services.GridService
102 102
103 public HypergridLinker(IConfigSource config, GridService gridService, IRegionData db) 103 public HypergridLinker(IConfigSource config, GridService gridService, IRegionData db)
104 { 104 {
105 IConfig modulesConfig = config.Configs["Modules"];
106 if (modulesConfig == null)
107 return;
108
109 if (modulesConfig.GetString("HypergridLinker", "") != "HypergridLinker")
110 return;
111
105 m_log.DebugFormat("[HYPERGRID LINKER]: Starting with db {0}", db.GetType()); 112 m_log.DebugFormat("[HYPERGRID LINKER]: Starting with db {0}", db.GetType());
106 113
107 m_Database = db; 114 m_Database = db;