From 2a5f060ed8c523e42ab6f747f03f27ab78ea3a4c Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Wed, 14 Jan 2009 16:52:12 +0000 Subject: [PATCH] * Fix typo which meant that RestComms was never enabled if you explicitly enabled it * In fact, it would only be activated if there was no [Communications] section at all (which would be the case for most people with existing region setups unless they specifically added it in * This fix means that enabling inter-region rest comms is now the default --- .../Modules/Communications/REST/RESTInterregionComms.cs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/OpenSim/Region/Environment/Modules/Communications/REST/RESTInterregionComms.cs b/OpenSim/Region/Environment/Modules/Communications/REST/RESTInterregionComms.cs index 7a0bb9b960..82ed5d42f4 100644 --- a/OpenSim/Region/Environment/Modules/Communications/REST/RESTInterregionComms.cs +++ b/OpenSim/Region/Environment/Modules/Communications/REST/RESTInterregionComms.cs @@ -70,10 +70,12 @@ namespace OpenSim.Region.Environment.Modules.Communications.REST { initialized = true; IConfig startupConfig = config.Configs["Communications"]; - if ((startupConfig == null) || - (startupConfig != null) && (startupConfig.GetString("InterregionComms", "RESTCommms") == "RESTComms")) + + if ((startupConfig == null) + || (startupConfig != null) + && (startupConfig.GetString("InterregionComms", "RESTComms") == "RESTComms")) { - m_log.Debug("[REST COMMS]: Enabling InterregionComms RESTComms module"); + m_log.Info("[REST COMMS]: Enabling InterregionComms RESTComms module"); m_enabled = true; InitOnce(scene); }