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

QuitNotify() private method

private QuitNotify ( IrcUser user, string reason ) : void
user IrcUser
reason string
return void
        internal void QuitNotify(IrcUser user, string reason)
        {
            foreach (var chan in user.Channels.Values)
            {
                chan.UserLeftNotify(user, reason);
            }
            OnQuit(user, reason);
            m_Users.Remove(user.Nick);
            if (user == Me)
            {
                m_client.Disconnect();
            }
        }