From eaf8066700bc48259d509282fd6362ca697b49ad Mon Sep 17 00:00:00 2001 From: diva Date: Tue, 30 Dec 2008 01:21:13 +0000 Subject: Making the default choice for InterregionComms work, and removing an unnecessary console debug message. --- .../Environment/Modules/Communications/REST/RESTInterregionComms.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/Environment/Modules/Communications/REST/RESTInterregionComms.cs') diff --git a/OpenSim/Region/Environment/Modules/Communications/REST/RESTInterregionComms.cs b/OpenSim/Region/Environment/Modules/Communications/REST/RESTInterregionComms.cs index 022f635..77aad6b 100644 --- a/OpenSim/Region/Environment/Modules/Communications/REST/RESTInterregionComms.cs +++ b/OpenSim/Region/Environment/Modules/Communications/REST/RESTInterregionComms.cs @@ -68,8 +68,10 @@ namespace OpenSim.Region.Environment.Modules.Communications.REST { initialized = true; IConfig startupConfig = config.Configs["Communications"]; - if ((startupConfig != null) && (startupConfig.GetString("InterregionComms", "RESTCommms") == "RESTComms")) + if ((startupConfig == null) || + (startupConfig != null) && (startupConfig.GetString("InterregionComms", "RESTCommms") == "RESTComms")) { + m_log.Debug("[REST COMMS]: Enabling InterregionComms RESTComms module"); m_enabled = true; InitOnce(scene); } -- cgit v1.1