* Stop the IRC module throwing a nre on shutdown if it isn't actually being used
parent
ea4982e453
commit
6265ea371e
|
@ -149,10 +149,13 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Chat
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Close()
|
public void Close()
|
||||||
|
{
|
||||||
|
if (null != m_irc)
|
||||||
{
|
{
|
||||||
m_irc.Close();
|
m_irc.Close();
|
||||||
m_log.Info("[IRC] closed connection to IRC server");
|
m_log.Info("[IRC] closed connection to IRC server");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public string Name
|
public string Name
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue