From fa3c7849d3ab085cdb31ea2fa846436d7ed5f642 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sun, 8 Mar 2026 20:20:58 +0000 Subject: Make the ban checking functions able to check any list mode. --- modules/operchans.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/operchans.cpp') 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()) -- cgit v1.3.1-10-gc9f91