internal void HandleOnError(object sender, ErrorEventArgs e) { if (OnError != null) OnError(this, e); }
// this method handles when we receive "ERROR" from the IRC server public static void OnError(object sender, ErrorEventArgs e) { Console.WriteLine("Error: " + e.ErrorMessage); Exit(); }
public void PluginsOnError(object sender, ErrorEventArgs e) { OnError(this, e); }