Squishy.Irc.IrcClient.Reset C# (CSharp) Method

Reset() private method

private Reset ( ) : void
return void
        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;
        }

Usage Example

示例#1
0
 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);
 }