diff options
| author | 2026-03-09 19:29:46 +0000 | |
|---|---|---|
| committer | 2026-03-09 19:31:09 +0000 | |
| commit | e2a2890e94c70bf2247fa68804b4cf550ee7810e (patch) | |
| tree | 6be7f1df26fb7c384587a5f5ade8b0d8eb6ba995 /include/modules | |
| parent | Reuse the ModResult variable in the redirect module. (diff) | |
Mark all acting extbans as MATCH_REQUIRE_CHANNEL.
This removes the need for special behaviour in the silence module.
Diffstat (limited to 'include/modules')
| -rw-r--r-- | include/modules/extban.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/modules/extban.h b/include/modules/extban.h index 9535a0a42..ee5748f2a 100644 --- a/include/modules/extban.h +++ b/include/modules/extban.h @@ -346,7 +346,7 @@ protected: * @param xbmatchflags The flags used for matching. */ ActingBase(Module* mod, const std::string& xbname, ExtBan::Letter xbletter, uint8_t xbmatchflags = ExtBan::MATCH_DEFAULT) - : Base(mod, xbname, xbletter, xbmatchflags) + : Base(mod, xbname, xbletter, xbmatchflags | ExtBan::MATCH_REQUIRE_CHANNEL) { } |
