look for GridName and gridname

This commit is contained in:
UbitUmarov
2020-11-03 17:36:43 +00:00
parent 5437fca647
commit dfe33bdafd
2 changed files with 18 additions and 13 deletions

View File

@@ -111,6 +111,9 @@ namespace OpenSim.Region.ClientStack.Linden
source, "GatekeeperURI", new string[] { "Startup", "Hypergrid", "SimulatorFeatures" }, String.Empty);
m_GridName = config.GetString("GridName", string.Empty);
if (m_GridName == string.Empty)
m_GridName = Util.GetConfigVarFromSections<string>(
source, "GridName", new string[] { "GridInfo", "SimulatorFeatures" }, String.Empty);
if (m_GridName == string.Empty)
m_GridName = Util.GetConfigVarFromSections<string>(
source, "gridname", new string[] { "GridInfo", "SimulatorFeatures" }, String.Empty);