aboutsummaryrefslogtreecommitdiff
path: root/modules/repeat.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2026-03-13 21:46:42 +0000
committerGravatar Sadie Powell2026-03-13 21:46:42 +0000
commit680242c4979d262298ad77a411810e16a0b8c5bc (patch)
tree3b0e1164c87bd2b0569152cc0a29ad96d87406b3 /modules/repeat.cpp
parentMove <options:{fixed,prefix,suffix}part> to <channels>. (diff)
Clean up the casemapping checking and comparison code.
Diffstat (limited to 'modules/repeat.cpp')
-rw-r--r--modules/repeat.cpp10
1 files changed, 5 insertions, 5 deletions
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;