diff options
Diffstat (limited to 'OpenSim/Region/Environment/Modules/Communications/Local')
-rw-r--r-- | OpenSim/Region/Environment/Modules/Communications/Local/LocalInterregionComms.cs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Modules/Communications/Local/LocalInterregionComms.cs b/OpenSim/Region/Environment/Modules/Communications/Local/LocalInterregionComms.cs index dc2e3de..781bf1c 100644 --- a/OpenSim/Region/Environment/Modules/Communications/Local/LocalInterregionComms.cs +++ b/OpenSim/Region/Environment/Modules/Communications/Local/LocalInterregionComms.cs | |||
@@ -64,9 +64,11 @@ namespace OpenSim.Region.Environment.Modules.Communications.Local | |||
64 | { | 64 | { |
65 | IConfig startupConfig = config.Configs["Communications"]; | 65 | IConfig startupConfig = config.Configs["Communications"]; |
66 | 66 | ||
67 | if ((startupConfig == null) || | 67 | if ((startupConfig != null) && (startupConfig.GetString("InterregionComms", "RESTCommms") == "LocalComms")) |
68 | (startupConfig != null) && (startupConfig.GetString("InterregionComms", "RESTCommms") == "LocalComms")) | 68 | { |
69 | m_log.Debug("[LOCAL COMMS]: Enabling InterregionComms LocalComms module"); | ||
69 | m_enabled = true; | 70 | m_enabled = true; |
71 | } | ||
70 | } | 72 | } |
71 | 73 | ||
72 | if (!m_enabled) | 74 | if (!m_enabled) |
@@ -131,7 +133,7 @@ namespace OpenSim.Region.Environment.Modules.Communications.Local | |||
131 | } | 133 | } |
132 | } | 134 | } |
133 | } | 135 | } |
134 | m_log.Debug("[LOCAL COMMS]: region not found for ChildAgentUpdate"); | 136 | //m_log.Debug("[LOCAL COMMS]: region not found for ChildAgentUpdate"); |
135 | return false; | 137 | return false; |
136 | } | 138 | } |
137 | 139 | ||