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/gateway.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/gateway.cpp') diff --git a/modules/gateway.cpp b/modules/gateway.cpp index 899ae5711..d13c735d6 100644 --- a/modules/gateway.cpp +++ b/modules/gateway.cpp @@ -243,7 +243,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 { const std::string* gatewayname = gateway.Get(user); return gatewayname ? InspIRCd::Match(*gatewayname, text) : false; -- cgit v1.3.1-10-gc9f91