summaryrefslogtreecommitdiff
path: root/src/modules/m_sslinfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_sslinfo.cpp')
-rw-r--r--src/modules/m_sslinfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_sslinfo.cpp b/src/modules/m_sslinfo.cpp
index cc882be1b..a759718e6 100644
--- a/src/modules/m_sslinfo.cpp
+++ b/src/modules/m_sslinfo.cpp
@@ -303,7 +303,7 @@ class ModuleSSLInfo
ModResult OnSetConnectClass(LocalUser* user, ConnectClass* myclass) CXX11_OVERRIDE
{
- ssl_cert* cert = SSLClientCert::GetCertificate(&user->eh);
+ ssl_cert* cert = cmd.sslapi.GetCertificate(user);
bool ok = true;
if (myclass->config->getString("requiressl") == "trusted")
{