X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmodules%2Fm_ircv3_sts.cpp;fp=src%2Fmodules%2Fm_ircv3_sts.cpp;h=cab671b70c5ae00830b3a5c4099fb386e25eee8d;hb=04e3f329d3c1f325a74fe23e39daaf663166913b;hp=68f4c46c6d3a5621fe685613cfdd68dda9fe108b;hpb=8f94fcc856dd492c6ecd5d1ebd1acdb7e59cbbe2;p=user%2Fhenk%2Fcode%2Finspircd.git 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.