inspircd

A modular C++ IRC daemon (ircd). https://www.inspircd.org/
Log | Files | Refs | README

commit 04e3f329d3c1f325a74fe23e39daaf663166913b
parent 8f94fcc856dd492c6ecd5d1ebd1acdb7e59cbbe2
Author: Peter Powell <petpow@saberuk.com>
Date:   Sun, 23 Jun 2019 00:48:22 +0100

Fix an inverted condition in the ircv3_sts module.

Diffstat:
Msrc/modules/m_ircv3_sts.cpp | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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.