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.

0.6.2-post-fixes
diva 2008-12-29 22:44:04 +00:00
parent a3e2e03f7b
commit 3a6b27befb
3 changed files with 3 additions and 3 deletions

View File

@ -65,7 +65,7 @@ namespace OpenSim.Region.Environment.Modules.Communications.Local
IConfig startupConfig = config.Configs["Communications"];
if ((startupConfig == null) ||
(startupConfig != null) && (startupConfig.GetString("InterregionComms", "LocalComms") == "LocalComms"))
(startupConfig != null) && (startupConfig.GetString("InterregionComms", "RESTCommms") == "LocalComms"))
m_enabled = true;
}

View File

@ -53,7 +53,7 @@ namespace OpenSim.Region.Environment.Modules.Communications.REST
{
initialized = true;
IConfig startupConfig = config.Configs["Communications"];
if ((startupConfig != null) && (startupConfig.GetString("InterregionComms", "LocalComms") == "HGRESTComms"))
if ((startupConfig != null) && (startupConfig.GetString("InterregionComms", "RESTCommms") == "HGRESTComms"))
{
m_enabled = true;
InitOnce(scene);

View File

@ -68,7 +68,7 @@ namespace OpenSim.Region.Environment.Modules.Communications.REST
{
initialized = true;
IConfig startupConfig = config.Configs["Communications"];
if ((startupConfig != null) && (startupConfig.GetString("InterregionComms", "LocalComms") == "RESTComms"))
if ((startupConfig != null) && (startupConfig.GetString("InterregionComms", "RESTCommms") == "RESTComms"))
{
m_enabled = true;
InitOnce(scene);