aboutsummaryrefslogtreecommitdiff
path: root/modules/serverban.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2026-03-06 16:57:33 +0000
committerGravatar Sadie Powell2026-03-06 16:57:33 +0000
commitd65f1f9e6d4751f71f21902a19c312e55f964bcf (patch)
tree6fbbccd2c5b2fcd2099b74a8e81a4cd98c36f089 /modules/serverban.cpp
parentAdd validation to silence extbans. (diff)
parentFix a copy/paste error in the serverban module docs. (diff)
Merge branch 'insp4' into master.
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 79d74d1b7..17276af15 100644
--- a/modules/serverban.cpp
+++ b/modules/serverban.cpp
@@ -42,7 +42,7 @@ public:
return InspIRCd::Match(operonly ? server->GetName() : server->GetPublicName(), text);
}
- bool Validate(ListModeBase* lm, LocalUser* user, Channel* channel, std::string& text, bool inverted) override
+ bool Validate(ListModeBase* lm, LocalUser* user, Channel* channel, std::string& text) override
{
if (operonly && !user->HasPrivPermission("users/auspex"))
{