private void OnNamesEnd(IrcClient sender, IrcNumerics numeric, IrcEventArgs e) { }
public Channel(IrcClient irc, String name) { Irc = irc; Name = name; }
protected void OnKick(IrcClient sender, IrcEventArgs e) { Channels[e.Target].PerformKick(sender, e); }
protected void OnChannelMode(IrcClient sender, IrcEventArgs e) { Channels[e.Target].PerformMessage(sender, e); }
protected void OnPublicNotice(IrcClient sender, IrcEventArgs e) { Channels[e.Target].PerformMessage(this, e); }
protected void OnTopic(IrcClient sender, IrcNumerics numeric, IrcEventArgs e) { Channels[e.Args.First()].PerformTopic(this, e); }
protected void OnDisconnect(IrcClient sender, IrcEventArgs e) { Connected = false; }
protected void OnConnect(IrcClient sender, IrcEventArgs e) { ConnectionTime = DateTime.UtcNow; reconnectAttempts = 0; Connected = true; }
protected void OnCTCPVersion(IrcClient sender, IrcEventArgs e) { Raw("NOTICE {0} :{1}VERSION {2}{1}", Hostmask.ToNick(e.Sender), (char)1, config.Version); }