internal void Reset()
{
m_server = "";
ServerPassword = "";
m_CTypes = "#";
m_CPrefixes = "aohv";
m_CSymbols = "&@%+";
m_CModes = "b,k,l,imnpstr";
m_nickIndex = 0;
m_loggedIn = false;
}
public void OnDisconnecting(Connection con, bool conLost) { m_queue.Clear(); if (IsConnected) { SendNow("QUIT :" + IrcClient.QuitReason + "\n"); Thread.Sleep(100); } m_irc.Reset(); m_irc.DisconnectNotify(conLost); }