aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_timedbans.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2023-08-12 08:41:24 +0100
committerGravatar Sadie Powell2023-08-12 08:41:24 +0100
commit2953c643e7e57899cc4336177b8fca790211f363 (patch)
tree0ddc6ecca449df3b13a64831fee3a85c380c8ab2 /src/modules/m_timedbans.cpp
parentRename the error log level to critical. (diff)
Fix list modes unintentionally being case sensitive.
Closes #907.
Diffstat (limited to 'src/modules/m_timedbans.cpp')
-rw-r--r--src/modules/m_timedbans.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_timedbans.cpp b/src/modules/m_timedbans.cpp
index cc7028256..cc3ef348d 100644
--- a/src/modules/m_timedbans.cpp
+++ b/src/modules/m_timedbans.cpp
@@ -66,7 +66,7 @@ private:
{
for (const auto& ban : *bans)
{
- if (irc::equals(ban.mask, mask))
+ if (banlm->CompareEntry(ban.mask, mask))
return true;
}
}