aboutsummaryrefslogtreecommitdiffstats
path: root/include/modules
diff options
context:
space:
mode:
authorGravatar Sadie Powell2026-03-09 19:29:46 +0000
committerGravatar Sadie Powell2026-03-09 19:31:09 +0000
commite2a2890e94c70bf2247fa68804b4cf550ee7810e (patch)
tree6be7f1df26fb7c384587a5f5ade8b0d8eb6ba995 /include/modules
parentReuse 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.h2
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)
{
}