aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_serverban.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2026-03-06 16:55:16 +0000
committerGravatar Sadie Powell2026-03-06 16:55:16 +0000
commit10ed41b4cc188681999538a53db95199087189c6 (patch)
tree0e7e7ed04490a37322770396133b6511608ea4c6 /src/modules/m_serverban.cpp
parentAdd the sharebans module. (diff)
Remove the inverted parameter from the extban validation method.
Diffstat (limited to 'src/modules/m_serverban.cpp')
-rw-r--r--src/modules/m_serverban.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_serverban.cpp b/src/modules/m_serverban.cpp
index 95c970c88..76edb9192 100644
--- a/src/modules/m_serverban.cpp
+++ b/src/modules/m_serverban.cpp
@@ -41,7 +41,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"))
{