diff options
author | Peter Powell <petpow@saberuk.com> | 2019-06-23 00:48:22 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2019-06-23 00:48:22 +0100 |
commit | 04e3f329d3c1f325a74fe23e39daaf663166913b (patch) | |
tree | 92f002b11ee6984f2e74bcae846cfa14561bcdee /src | |
parent | 8f94fcc856dd492c6ecd5d1ebd1acdb7e59cbbe2 (diff) |
Fix an inverted condition in the ircv3_sts module.
Diffstat (limited to 'src')
-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. |