diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Modules/Communications/REST/RESTInterregionComms.cs | 8 |
1 files 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 7a0bb9b..82ed5d4 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 | |||
70 | { | 70 | { |
71 | initialized = true; | 71 | initialized = true; |
72 | IConfig startupConfig = config.Configs["Communications"]; | 72 | IConfig startupConfig = config.Configs["Communications"]; |
73 | if ((startupConfig == null) || | 73 | |
74 | (startupConfig != null) && (startupConfig.GetString("InterregionComms", "RESTCommms") == "RESTComms")) | 74 | if ((startupConfig == null) |
75 | || (startupConfig != null) | ||
76 | && (startupConfig.GetString("InterregionComms", "RESTComms") == "RESTComms")) | ||
75 | { | 77 | { |
76 | m_log.Debug("[REST COMMS]: Enabling InterregionComms RESTComms module"); | 78 | m_log.Info("[REST COMMS]: Enabling InterregionComms RESTComms module"); |
77 | m_enabled = true; | 79 | m_enabled = true; |
78 | InitOnce(scene); | 80 | InitOnce(scene); |
79 | } | 81 | } |