diff options
-rw-r--r-- | src/modules/m_ircv3_sts.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_ircv3_sts.cpp b/src/modules/m_ircv3_sts.cpp index 68f4c46c6..cab671b70 100644 --- a/src/modules/m_ircv3_sts.cpp +++ b/src/modules/m_ircv3_sts.cpp @@ -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. |