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); } } }
private void Listener_OnNick(object sender, NickChangeEventArgs e) { OnNick.Fire(this, new NickChangeEventArgs(e.User, e.NewNick)); }
public void ProcessNickCommand(IrcMessage message) { OnNick.Fire(this, new NickChangeEventArgs(Rfc2812Util.UserFromString(message.From), message.Message)); }
private void ProcessNickCommand(string[] tokens) { OnNick.Fire(this, new NickChangeEventArgs(Rfc2812Util.UserFromString(tokens[0]), RemoveLeadingColon(tokens[2]))); //Trace.WriteLine("Nick", "IRC"); }