mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-11 11:39:02 -04:00
Fix an inverted condition in the ircv3_sts module.
This commit is contained in:
parent
8f94fcc856
commit
04e3f329d3
@ -36,7 +36,7 @@ class STSCap : public Cap::Capability
|
||||
return false;
|
||||
|
||||
// Don't send the cap to clients in a class which has STS disabled.
|
||||
if (user->GetClass()->config->getBool("usests", true))
|
||||
if (!user->GetClass()->config->getBool("usests", true))
|
||||
return false;
|
||||
|
||||
// Plaintext listeners have their own policy.
|
||||
|
Loading…
x
Reference in New Issue
Block a user