protected virtual void OnNickRecieved(NickRecievedEventArgs e)
 {
     EventHandler<NickRecievedEventArgs> handler = NickRecieved;
     if (handler != null)
         handler(this, e);
 }
 private void Client_NickRecieved(object sender, NickRecievedEventArgs e)
 {
     checkChannel(e.Channel);
     channels[e.Channel].OnChatEvent(ChatEventType.NickChange, e.OldNick, e.NewNick);
 }