mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 02:36:00 +08:00
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.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user