* Fix typo which meant that RestComms was never enabled if you explicitly enabled it
* In fact, it would only be activated if there was no [Communications] section at all (which would be the case for most people with existing region setups unless they specifically added it in * This fix means that enabling inter-region rest comms is now the default0.6.2-post-fixes
parent
e10de20772
commit
2a5f060ed8
|
@ -70,10 +70,12 @@ namespace OpenSim.Region.Environment.Modules.Communications.REST
|
||||||
{
|
{
|
||||||
initialized = true;
|
initialized = true;
|
||||||
IConfig startupConfig = config.Configs["Communications"];
|
IConfig startupConfig = config.Configs["Communications"];
|
||||||
if ((startupConfig == null) ||
|
|
||||||
(startupConfig != null) && (startupConfig.GetString("InterregionComms", "RESTCommms") == "RESTComms"))
|
if ((startupConfig == null)
|
||||||
|
|| (startupConfig != null)
|
||||||
|
&& (startupConfig.GetString("InterregionComms", "RESTComms") == "RESTComms"))
|
||||||
{
|
{
|
||||||
m_log.Debug("[REST COMMS]: Enabling InterregionComms RESTComms module");
|
m_log.Info("[REST COMMS]: Enabling InterregionComms RESTComms module");
|
||||||
m_enabled = true;
|
m_enabled = true;
|
||||||
InitOnce(scene);
|
InitOnce(scene);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue