From e2a2890e94c70bf2247fa68804b4cf550ee7810e Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Mon, 9 Mar 2026 19:29:46 +0000 Subject: Mark all acting extbans as MATCH_REQUIRE_CHANNEL. This removes the need for special behaviour in the silence module. --- include/modules/extban.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/modules') 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) { } -- cgit v1.3.1-10-gc9f91