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/channelban.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/channelban.cpp') diff --git a/modules/channelban.cpp b/modules/channelban.cpp index 01feaf144..a6fd73dda 100644 --- a/modules/channelban.cpp +++ b/modules/channelban.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 { unsigned char status = 0; const char* target = text.c_str(); -- cgit v1.3.1-10-gc9f91