aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/GridService
diff options
context:
space:
mode:
authorMelanie2011-10-12 15:41:59 +0100
committerMelanie2011-10-12 15:41:59 +0100
commit4b7b9e81f7b33c86f691e2bca756a3639fe9ee04 (patch)
treedbf3b2489e50cdabeba0ef1545a29f898427d40b /OpenSim/Services/GridService
parentUpdate OpenSimDefaults.ini to make the prior state (Groups messaging enabled (diff)
downloadopensim-SC_OLD-4b7b9e81f7b33c86f691e2bca756a3639fe9ee04.zip
opensim-SC_OLD-4b7b9e81f7b33c86f691e2bca756a3639fe9ee04.tar.gz
opensim-SC_OLD-4b7b9e81f7b33c86f691e2bca756a3639fe9ee04.tar.bz2
opensim-SC_OLD-4b7b9e81f7b33c86f691e2bca756a3639fe9ee04.tar.xz
Make it possible to disable the HG linker. On non-HG systems it spits yellow
spam, so it should not load unless HG is desired.
Diffstat (limited to 'OpenSim/Services/GridService')
-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 83ec122..90c022f 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;