Пример #1
0
        private void Listener_OnNick(object sender, NickChangeEventArgs e)
        {
            OnNick.Fire(this, new NickChangeEventArgs(e.User, e.NewNick));

            foreach (KeyValuePair <string, Channel> item in _channels)
            {
                if (item.Value.HasUser(e.User.Nick))
                {
                    item.Value.NickChange(e.User, e.NewNick);
                }
            }
        }
Пример #2
0
 private void Listener_OnNick(object sender, NickChangeEventArgs e)
 {
     OnNick.Fire(this, new NickChangeEventArgs(e.User, e.NewNick));
 }
Пример #3
0
 public void ProcessNickCommand(IrcMessage message)
 {
     OnNick.Fire(this, new NickChangeEventArgs(Rfc2812Util.UserFromString(message.From), message.Message));
 }
Пример #4
0
 private void ProcessNickCommand(string[] tokens)
 {
     OnNick.Fire(this, new NickChangeEventArgs(Rfc2812Util.UserFromString(tokens[0]), RemoveLeadingColon(tokens[2])));
     //Trace.WriteLine("Nick", "IRC");
 }