void ClientUnBan(UnbanEventArgs e) { var channel = Server.Channel(e.Channel); if (channel != null) { if (_iam == e.Who) { channel.ErrorCode = 0; channel.Commit(); OnQueueChannel(this, new EventArgs<Model.Domain.Channel, int>(channel, Settings.Default.CommandWaitTime)); } } }
void mClient_OnUnban(object sender, UnbanEventArgs e) { AddText(string.Format("*** {0} is unbanned", e.Who)); }
void ClientOnUnBan(object sender, UnbanEventArgs e) { _events.Enqueue(new IrcEvent { Type = IrcEvent.EventType.UnBan, Event = e }); _waitHandle.Set(); }