From fa6cfec3f8befcc650214b37664569e52f21e6b8 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Fri, 25 Jan 2019 10:57:37 +0000 Subject: Fix sending the SSL connection notice when using a non-SSL gateway. --- src/modules/m_sslinfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/modules/m_sslinfo.cpp b/src/modules/m_sslinfo.cpp index 30dfd9a76..d3514eac6 100644 --- a/src/modules/m_sslinfo.cpp +++ b/src/modules/m_sslinfo.cpp @@ -251,7 +251,7 @@ class ModuleSSLInfo return; const SSLIOHook* const ssliohook = SSLIOHook::IsSSL(&localuser->eh); - if (!ssliohook) + if (!ssliohook || cmd.sslapi.nosslext.get(localuser)) return; ssl_cert* const cert = ssliohook->GetCertificate(); -- cgit v1.2.3