summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-11-01 20:22:48 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-11-01 20:22:48 +0000
commitb438e659fea8d3808b4648d7fc77abccbb6165fc (patch)
treef1c37455ab7a14534a987c460c067d1755484991 /src
parent11e2a5c8a1b4b8da2c72cbd44facac2128b8fd7b (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/modules/extra/m_ssl_oper_cert.cpp2
1 files changed, 1 insertions, 1 deletions
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))