Fix an inverted condition in the denychans module.

Closes #2091.
This commit is contained in:
Sadie Powell 2024-04-22 14:06:03 +01:00
parent 70ab975b41
commit 6cfd3e7212

View File

@ -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)