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/serverban.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/serverban.cpp') diff --git a/modules/serverban.cpp b/modules/serverban.cpp index 17276af15..a43f0ca6e 100644 --- a/modules/serverban.cpp +++ b/modules/serverban.cpp @@ -36,7 +36,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 auto* server = user->server; return InspIRCd::Match(operonly ? server->GetName() : server->GetPublicName(), text); -- cgit v1.3.1-10-gc9f91