From 5e4d6cab00cb29cd088ab7b62ab13aff103b64cb Mon Sep 17 00:00:00 2001 From: onefang Date: Sun, 19 May 2019 21:24:15 +1000 Subject: Dump OpenSim 0.9.0.1 into it's own branch. --- OpenSim/Region/OptionalModules/Avatar/Chat/IRCBridgeModule.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/OptionalModules/Avatar/Chat/IRCBridgeModule.cs') diff --git a/OpenSim/Region/OptionalModules/Avatar/Chat/IRCBridgeModule.cs b/OpenSim/Region/OptionalModules/Avatar/Chat/IRCBridgeModule.cs index 351dbfe..d6b6642 100644 --- a/OpenSim/Region/OptionalModules/Avatar/Chat/IRCBridgeModule.cs +++ b/OpenSim/Region/OptionalModules/Avatar/Chat/IRCBridgeModule.cs @@ -79,6 +79,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Chat if (!m_config.GetBoolean("enabled", false)) { // m_log.InfoFormat("[IRC-Bridge] module disabled in configuration"); + m_config = null; return; } @@ -104,7 +105,8 @@ namespace OpenSim.Region.OptionalModules.Avatar.Chat MainServer.Instance.AddXmlRPCHandler("irc_admin", XmlRpcAdminMethod, false); m_region = new RegionState(scene, m_config); - lock (m_regions) m_regions.Add(m_region); + lock (m_regions) + m_regions.Add(m_region); m_region.Open(); } catch (Exception e) -- cgit v1.1