From: w00t Date: Sat, 1 Nov 2008 20:22:48 +0000 (+0000) Subject: Fix opercert to behave correctly, patch from and tested by dz -- thanks! X-Git-Tag: v2.0.23~2336 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=b438e659fea8d3808b4648d7fc77abccbb6165fc;p=user%2Fhenk%2Fcode%2Finspircd.git Fix opercert to behave correctly, patch from and tested by dz -- thanks! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10782 e03df62e-2008-0410-955e-edbf42e46eb7 --- diff --git a/src/modules/extra/m_ssl_oper_cert.cpp b/src/modules/extra/m_ssl_oper_cert.cpp index 967869d31..fb7162a1f 100644 --- a/src/modules/extra/m_ssl_oper_cert.cpp +++ b/src/modules/extra/m_ssl_oper_cert.cpp @@ -148,7 +148,7 @@ class ModuleOperSSLCert : public Module if (!OneOfMatches(TheHost, TheIP, HostName.c_str())) continue; - if (Password.length() && !ServerInstance->PassCompare(user, Password.c_str(),parameters[1].c_str(), HashType.c_str())) + if (Password.length() && ServerInstance->PassCompare(user, Password.c_str(),parameters[1].c_str(), HashType.c_str())) continue; if (SSLOnly && !user->GetExt("ssl", dummy))