diff options
| author | 2026-03-06 16:57:33 +0000 | |
|---|---|---|
| committer | 2026-03-06 16:57:33 +0000 | |
| commit | d65f1f9e6d4751f71f21902a19c312e55f964bcf (patch) | |
| tree | 6fbbccd2c5b2fcd2099b74a8e81a4cd98c36f089 /modules/serverban.cpp | |
| parent | Add validation to silence extbans. (diff) | |
| parent | Fix 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.cpp | 2 |
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")) { |
