From b438e659fea8d3808b4648d7fc77abccbb6165fc Mon Sep 17 00:00:00 2001 From: w00t Date: Sat, 1 Nov 2008 20:22:48 +0000 Subject: 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 --- src/modules/extra/m_ssl_oper_cert.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules') 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)) -- cgit v1.2.3