Esempio n. 1
0
 public void ProcessInviteCommand(string[] tokens)
 {
     OnInvite.Fire(this, new InviteEventArgs(tokens[0], RemoveLeadingColon(tokens[3])));
     //Trace.WriteLine("Invite", "IRC");
 }
Esempio n. 2
0
        public void ProcessInviteCommand(IrcMessage ircMessage)
        {
            var fromUser = Rfc2812Util.UserFromString(ircMessage.From);

            OnInvite.Fire(this, new InviteEventArgs(fromUser.Nick, ircMessage.Message));
        }