Fix an inverted condition in the ircv3_sts module.

This commit is contained in:
Peter Powell 2019-06-23 00:48:22 +01:00
parent 8f94fcc856
commit 04e3f329d3

View File

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