mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 17:55:48 +08:00
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.
This commit is contained in:
@@ -102,6 +102,13 @@ namespace OpenSim.Services.GridService
|
||||
|
||||
public HypergridLinker(IConfigSource config, GridService gridService, IRegionData db)
|
||||
{
|
||||
IConfig modulesConfig = config.Configs["Modules"];
|
||||
if (modulesConfig == null)
|
||||
return;
|
||||
|
||||
if (modulesConfig.GetString("HypergridLinker", "") != "HypergridLinker")
|
||||
return;
|
||||
|
||||
m_log.DebugFormat("[HYPERGRID LINKER]: Starting with db {0}", db.GetType());
|
||||
|
||||
m_Database = db;
|
||||
|
||||
Reference in New Issue
Block a user