diff --git a/OpenSim/Region/CoreModules/Hypergrid/HGWorldMapModule.cs b/OpenSim/Region/CoreModules/Hypergrid/HGWorldMapModule.cs index 8c44ee2f93..c602c71ad9 100644 --- a/OpenSim/Region/CoreModules/Hypergrid/HGWorldMapModule.cs +++ b/OpenSim/Region/CoreModules/Hypergrid/HGWorldMapModule.cs @@ -58,8 +58,9 @@ namespace OpenSim.Region.CoreModules.Hypergrid public override void Initialise(IConfigSource source) { + string[] configSections = new string[] { "Map", "Startup" }; if (Util.GetConfigVarFromSections( - source, "WorldMapModule", new string[] { "Map", "Startup" }, "WorldMap") == "HGWorldMap") + source, "WorldMapModule", configSections, "WorldMap") == "HGWorldMap") { m_Enabled = true; @@ -72,7 +73,14 @@ namespace OpenSim.Region.CoreModules.Hypergrid m_MapImageServerURL = m_MapImageServerURL + "/"; } + expireBlackListTime = (double)Util.GetConfigVarFromSections(source, "BlacklistTimeout", configSections, 10 * 60); + m_exportPrintScale = + Util.GetConfigVarFromSections(source, "ExportMapAddScale", configSections, m_exportPrintScale); + m_exportPrintRegionName = + Util.GetConfigVarFromSections(source, "ExportMapAddRegionName", configSections, m_exportPrintRegionName); + m_showNPCs = + Util.GetConfigVarFromSections(source, "ShowNPCs", configSections, m_showNPCs); } }