diff options
Changing the default Comms module to be RESTComms, in case none is specified in OpenSim.ini. RESTComms is a super-set of LocalComms. Calls to local regions do no use REST, they use internal function calls.
Diffstat (limited to 'OpenSim/Region/Environment/Modules/Communications/REST')
-rw-r--r-- | OpenSim/Region/Environment/Modules/Communications/REST/HGInterregionComms.cs | 2 | ||||
-rw-r--r-- | OpenSim/Region/Environment/Modules/Communications/REST/RESTInterregionComms.cs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Modules/Communications/REST/HGInterregionComms.cs b/OpenSim/Region/Environment/Modules/Communications/REST/HGInterregionComms.cs index e570f99..a553136 100644 --- a/OpenSim/Region/Environment/Modules/Communications/REST/HGInterregionComms.cs +++ b/OpenSim/Region/Environment/Modules/Communications/REST/HGInterregionComms.cs | |||
@@ -53,7 +53,7 @@ namespace OpenSim.Region.Environment.Modules.Communications.REST | |||
53 | { | 53 | { |
54 | initialized = true; | 54 | initialized = true; |
55 | IConfig startupConfig = config.Configs["Communications"]; | 55 | IConfig startupConfig = config.Configs["Communications"]; |
56 | if ((startupConfig != null) && (startupConfig.GetString("InterregionComms", "LocalComms") == "HGRESTComms")) | 56 | if ((startupConfig != null) && (startupConfig.GetString("InterregionComms", "RESTCommms") == "HGRESTComms")) |
57 | { | 57 | { |
58 | m_enabled = true; | 58 | m_enabled = true; |
59 | InitOnce(scene); | 59 | InitOnce(scene); |
diff --git a/OpenSim/Region/Environment/Modules/Communications/REST/RESTInterregionComms.cs b/OpenSim/Region/Environment/Modules/Communications/REST/RESTInterregionComms.cs index 7ff38c9..4c2308e 100644 --- a/OpenSim/Region/Environment/Modules/Communications/REST/RESTInterregionComms.cs +++ b/OpenSim/Region/Environment/Modules/Communications/REST/RESTInterregionComms.cs | |||
@@ -68,7 +68,7 @@ namespace OpenSim.Region.Environment.Modules.Communications.REST | |||
68 | { | 68 | { |
69 | initialized = true; | 69 | initialized = true; |
70 | IConfig startupConfig = config.Configs["Communications"]; | 70 | IConfig startupConfig = config.Configs["Communications"]; |
71 | if ((startupConfig != null) && (startupConfig.GetString("InterregionComms", "LocalComms") == "RESTComms")) | 71 | if ((startupConfig != null) && (startupConfig.GetString("InterregionComms", "RESTCommms") == "RESTComms")) |
72 | { | 72 | { |
73 | m_enabled = true; | 73 | m_enabled = true; |
74 | InitOnce(scene); | 74 | InitOnce(scene); |