mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
* Stop the IRC module throwing a nre on shutdown if it isn't actually being used
This commit is contained in:
@@ -150,8 +150,11 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Chat
|
||||
|
||||
public void Close()
|
||||
{
|
||||
m_irc.Close();
|
||||
m_log.Info("[IRC] closed connection to IRC server");
|
||||
if (null != m_irc)
|
||||
{
|
||||
m_irc.Close();
|
||||
m_log.Info("[IRC] closed connection to IRC server");
|
||||
}
|
||||
}
|
||||
|
||||
public string Name
|
||||
|
||||
Reference in New Issue
Block a user