From 680242c4979d262298ad77a411810e16a0b8c5bc Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 13 Mar 2026 21:46:42 +0000 Subject: Clean up the casemapping checking and comparison code. --- modules/repeat.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'modules/repeat.cpp') diff --git a/modules/repeat.cpp b/modules/repeat.cpp index 764f6c9ae..6b506ddf2 100644 --- a/modules/repeat.cpp +++ b/modules/repeat.cpp @@ -271,15 +271,15 @@ private: if (!stream.GetToken(actionstr)) return false; - if (irc::equals(actionstr, "ban")) + if (insp::casemapped_equals(actionstr, "ban")) action = ChannelSettings::ACT_BAN; - else if (irc::equals(actionstr, "kick")) + else if (insp::casemapped_equals(actionstr, "kick")) action = ChannelSettings::ACT_KICK; - else if (irc::equals(actionstr, "block")) + else if (insp::casemapped_equals(actionstr, "block")) action = ChannelSettings::ACT_BLOCK; - else if (irc::equals(actionstr, "mute")) + else if (insp::casemapped_equals(actionstr, "mute")) action = ChannelSettings::ACT_MUTE; - else if (irc::equals(actionstr, "kickban")) + else if (insp::casemapped_equals(actionstr, "kickban")) action = ChannelSettings::ACT_KICK_BAN; else return false; -- cgit v1.3.1-10-gc9f91