aboutsummaryrefslogtreecommitdiff
path: root/modules/serverban.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2026-03-08 20:20:58 +0000
committerGravatar Sadie Powell2026-03-08 20:20:58 +0000
commitfa3c7849d3ab085cdb31ea2fa846436d7ed5f642 (patch)
tree673527fc066b92d02ef109f503805abb2c4d9ffc /modules/serverban.cpp
parentFix various minor Doxygen issues. (diff)
Make the ban checking functions able to check any list mode.
Diffstat (limited to 'modules/serverban.cpp')
-rw-r--r--modules/serverban.cpp2
1 files changed, 1 insertions, 1 deletions
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);