From 110644c23a8f6c2dedc4392c833101d369c58f3e Mon Sep 17 00:00:00 2001 From: Melanie Date: Wed, 21 Aug 2019 21:23:54 +0100 Subject: Make ReadConfig a general features of consoles, rather than type dependent --- OpenSim/Region/Application/OpenSim.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region') diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs index 5cfca6c..50bad61 100755 --- a/OpenSim/Region/Application/OpenSim.cs +++ b/OpenSim/Region/Application/OpenSim.cs @@ -199,7 +199,6 @@ namespace OpenSim break; case "rest": m_console = new RemoteConsole("Region"); - ((RemoteConsole)m_console).ReadConfig(Config); break; default: m_console = new LocalConsole("Region", Config.Configs["Startup"]); @@ -207,6 +206,8 @@ namespace OpenSim } } + m_console.ReadConfig(Config); + MainConsole.Instance = m_console; LogEnvironmentInformation(); -- cgit v1.1