Ejemplo n.º 1
0
        void OnQuit(UserInfo user, string reason)
        {
            // Old bot was disconnected, try to reclaim it
            if (user.Nick == nick)
            {
                connection.Sender.Nick(nick);
            }
            nicks.OnLeft(user);

            if (user.Nick == nick)
            {
                return;
            }
            Logger.Log(LogType.RelayActivity, user.Nick + " left IRC");
            MessageInGame(user.Nick, "&I(IRC) " + user.Nick + " left");
        }
Ejemplo n.º 2
0
        void OnQuit(string user, string reason)
        {
            string nick = Connection.ExtractNick(user);

            // Old bot was disconnected, try to reclaim it
            if (nick == botNick)
            {
                conn.SendNick(botNick);
            }
            nicks.OnLeft(nick);

            if (nick == botNick)
            {
                return;
            }
            Logger.Log(LogType.RelayActivity, nick + " left IRC");
            MessageInGame(nick, "&I(IRC) " + nick + " left");
        }