Example #1
0
 private void ircClient_ErrorMessageReceived(object sender, IrcErrorMessageEventArgs e)
 {
     Debug.Print("IrcClient Error Message Received: " + e.Message);
     Reconnect();
 }
Example #2
0
 /// <summary>
 /// Raises the <see cref="ErrorMessageReceived"/> event.
 /// </summary>
 /// <param name="e">The <see cref="IrcErrorMessageEventArgs"/> instance containing the event data.</param>
 protected virtual void OnErrorMessageReceived(IrcErrorMessageEventArgs e)
 {
     var handler = this.ErrorMessageReceived;
     if (handler != null)
         handler(this, e);
 }