aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/Communications/REST
diff options
context:
space:
mode:
authordiva2008-12-29 22:44:04 +0000
committerdiva2008-12-29 22:44:04 +0000
commit3a6b27befbc6119929b7e5dc67456195720c3093 (patch)
tree489def867dae8cdc7da5014953aec72ed79bea37 /OpenSim/Region/Environment/Modules/Communications/REST
parentFinal part for implementing SendChildAgentDataUpdate with modules. This is th... (diff)
downloadopensim-SC-3a6b27befbc6119929b7e5dc67456195720c3093.zip
opensim-SC-3a6b27befbc6119929b7e5dc67456195720c3093.tar.gz
opensim-SC-3a6b27befbc6119929b7e5dc67456195720c3093.tar.bz2
opensim-SC-3a6b27befbc6119929b7e5dc67456195720c3093.tar.xz
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.cs2
-rw-r--r--OpenSim/Region/Environment/Modules/Communications/REST/RESTInterregionComms.cs2
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);