void Msgr_UserCapabilitiesChanged(object sender, UserCapabilitiesEventArgs e) { using (ConsoleExt.WithColor(eventColor)) Console.WriteLine("{0} capabilities changed to {1}", e.User.Nickname ?? e.User.LoginName, e.Capabilities); }
internal void OnUserCapabilitiesChanged(UserCapabilitiesEventArgs e) { EventHandler<UserCapabilitiesEventArgs> handler = UserCapabilitiesChanged; if (handler != null) handler(this, e); }