diff options
| author | 2024-04-22 14:06:03 +0100 | |
|---|---|---|
| committer | 2024-04-22 14:06:03 +0100 | |
| commit | 6cfd3e7212e77a3a59d4074943c4ec56806f27d2 (patch) | |
| tree | 91b2cb09a72658c577575cf5f474ddd1522a2965 /src/modules/m_denychans.cpp | |
| parent | Release v4.0.0 alpha 26. (diff) | |
Fix an inverted condition in the denychans module.
Closes #2091.
Diffstat (limited to 'src/modules/m_denychans.cpp')
| -rw-r--r-- | src/modules/m_denychans.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
