diff --git a/frmMain.cs b/frmMain.cs index e308fef..1120db3 100644 --- a/frmMain.cs +++ b/frmMain.cs @@ -331,7 +331,7 @@ void OnQuit(object sender, QuitEventArgs e) } void OnTopic(object sender, TopicEventArgs e) { - if (e.Channel == channel && e.Topic.StartsWith("!lazor")) + if (e.Channel.ToLower() == channel && e.Topic.StartsWith("!lazor")) { List pars = new List(e.Topic.Split(' ')); SetStatus("Controlled by topic"); @@ -345,7 +345,7 @@ void OnTopic(object sender, TopicEventArgs e) } void OnTopicChange(object sender, TopicChangeEventArgs e) { - if (e.Channel == channel && e.NewTopic.StartsWith("!lazor")) + if (e.Channel.ToLower() == channel && e.NewTopic.StartsWith("!lazor")) { List pars = new List(e.NewTopic.Split(' ')); SetStatus("Controlled by topic");