aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/Environment/Modules/Avatar/Chat/IRCBridgeModule.cs7
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Modules/Avatar/Chat/IRCBridgeModule.cs b/OpenSim/Region/Environment/Modules/Avatar/Chat/IRCBridgeModule.cs
index a7abfb4..7ee7eda 100644
--- a/OpenSim/Region/Environment/Modules/Avatar/Chat/IRCBridgeModule.cs
+++ b/OpenSim/Region/Environment/Modules/Avatar/Chat/IRCBridgeModule.cs
@@ -150,8 +150,11 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Chat
150 150
151 public void Close() 151 public void Close()
152 { 152 {
153 m_irc.Close(); 153 if (null != m_irc)
154 m_log.Info("[IRC] closed connection to IRC server"); 154 {
155 m_irc.Close();
156 m_log.Info("[IRC] closed connection to IRC server");
157 }
155 } 158 }
156 159
157 public string Name 160 public string Name