diff options
-rw-r--r-- | OpenSim/Framework/RegionInfo.cs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Framework/RegionInfo.cs b/OpenSim/Framework/RegionInfo.cs index d7a51ec..adffe13 100644 --- a/OpenSim/Framework/RegionInfo.cs +++ b/OpenSim/Framework/RegionInfo.cs | |||
@@ -545,7 +545,7 @@ namespace OpenSim.Framework | |||
545 | 545 | ||
546 | private void ReadNiniConfig(IConfigSource source, string name) | 546 | private void ReadNiniConfig(IConfigSource source, string name) |
547 | { | 547 | { |
548 | // bool creatingNew = false; | 548 | bool creatingNew = false; |
549 | 549 | ||
550 | if (source.Configs.Count == 0) | 550 | if (source.Configs.Count == 0) |
551 | { | 551 | { |
@@ -569,7 +569,7 @@ namespace OpenSim.Framework | |||
569 | 569 | ||
570 | source.AddConfig(name); | 570 | source.AddConfig(name); |
571 | 571 | ||
572 | // creatingNew = true; | 572 | creatingNew = true; |
573 | } | 573 | } |
574 | 574 | ||
575 | if (name == String.Empty) | 575 | if (name == String.Empty) |
@@ -696,7 +696,8 @@ namespace OpenSim.Framework | |||
696 | } | 696 | } |
697 | else | 697 | else |
698 | { | 698 | { |
699 | m_resolveAddress = Convert.ToBoolean(MainConsole.Instance.CmdPrompt("Resolve hostname to IP on start (for running inside Docker)", "False")); | 699 | if (creatingNew) |
700 | m_resolveAddress = Convert.ToBoolean(MainConsole.Instance.CmdPrompt("Resolve hostname to IP on start (for running inside Docker)", "False")); | ||
700 | 701 | ||
701 | config.Set("ResolveAddress", m_resolveAddress.ToString()); | 702 | config.Set("ResolveAddress", m_resolveAddress.ToString()); |
702 | } | 703 | } |