From 6cfd3e7212e77a3a59d4074943c4ec56806f27d2 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Mon, 22 Apr 2024 14:06:03 +0100 Subject: Fix an inverted condition in the denychans module. Closes #2091. --- src/modules/m_denychans.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_denychans.cpp') diff --git a/src/modules/m_denychans.cpp b/src/modules/m_denychans.cpp index c1d1b4a54..c3027c664 100644 --- a/src/modules/m_denychans.cpp +++ b/src/modules/m_denychans.cpp @@ -146,7 +146,7 @@ public: ModResult OnUserPreJoin(LocalUser* user, Channel* chan, const std::string& cname, std::string& privs, const std::string& keygiven, bool override) override { - if (!override) + if (override) return MOD_RES_PASSTHRU; for (const auto& badchan : badchannels) -- cgit v1.3.1-10-gc9f91