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/classban.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/classban.cpp') diff --git a/modules/classban.cpp b/modules/classban.cpp index ecf4fa5fb..48315da31 100644 --- a/modules/classban.cpp +++ b/modules/classban.cpp @@ -33,7 +33,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 { auto* luser = user->AsLocal(); if (!luser) -- cgit v1.3.1-10-gc9f91