public void SendEmoteAnnounce(string format, params object[] args) { if (Settings.Current.IRC.Enabled) { Client.ChatAction(Settings.Current.IRC.Channel.Announce, string.Format(format, args)); } }
public void SendEmoteAnnounce(string str) { if (Settings.Current.IRC.Enabled) { Client.ChatAction(Settings.Current.IRC.Channel.Announce, str); } }
public void Close(bool isCancelKeyExit) { Disconnecting = true; if (!Client.IsConnected) { return; } if (!isCancelKeyExit) { Client.ChatAction(Settings.Current.IRC.Channel.Main, "is exiting…"); } SendEmoteAnnounce("is exiting…"); Client.LogOut(); Client.Close(); }