aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/GridService/HypergridLinker.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-10-12 19:24:03 +0100
committerJustin Clark-Casey (justincc)2011-10-12 19:24:03 +0100
commit36e73dbc9b7fb46885865f5537c43a29239fd559 (patch)
tree4e9221a18dead97483f0d8e0da2b40864d342b6d /OpenSim/Services/GridService/HypergridLinker.cs
parentImprove some method doc for LLUDPClient, LLUDPServer and UnackedPacketCollection (diff)
parentMake it possible to disable the HG linker. On non-HG systems it spits yellow (diff)
downloadopensim-SC_OLD-36e73dbc9b7fb46885865f5537c43a29239fd559.zip
opensim-SC_OLD-36e73dbc9b7fb46885865f5537c43a29239fd559.tar.gz
opensim-SC_OLD-36e73dbc9b7fb46885865f5537c43a29239fd559.tar.bz2
opensim-SC_OLD-36e73dbc9b7fb46885865f5537c43a29239fd559.tar.xz
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
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 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;