aboutsummaryrefslogtreecommitdiffstats
path: root/modules/operchans.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2026-03-08 20:20:58 +0000
committerGravatar Sadie Powell2026-03-08 20:20:58 +0000
commitfa3c7849d3ab085cdb31ea2fa846436d7ed5f642 (patch)
tree673527fc066b92d02ef109f503805abb2c4d9ffc /modules/operchans.cpp
parentFix various minor Doxygen issues. (diff)
Make the ban checking functions able to check any list mode.
Diffstat (limited to 'modules/operchans.cpp')
-rw-r--r--modules/operchans.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/operchans.cpp b/modules/operchans.cpp
index 6d03ba3a4..5c9663f93 100644
--- a/modules/operchans.cpp
+++ b/modules/operchans.cpp
@@ -40,7 +40,7 @@ public:
{
}
- bool IsMatch(User* user, Channel* channel, const std::string& text, const ExtBan::MatchConfig& config) override
+ bool IsMatch(ListModeBase* lm, User* user, Channel* channel, const std::string& text, const ExtBan::MatchConfig& config) override
{
// If the user is not an oper they can't match this.
if (!user->IsOper())
@@ -62,7 +62,7 @@ public:
{
}
- bool IsMatch(User* user, Channel* channel, const std::string& text, const ExtBan::MatchConfig& config) override
+ bool IsMatch(ListModeBase* lm, User* user, Channel* channel, const std::string& text, const ExtBan::MatchConfig& config) override
{
// If the user is not an oper they can't match this.
if (!user->IsOper())