summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2019-01-25 10:57:37 +0000
committerPeter Powell <petpow@saberuk.com>2019-01-25 18:05:39 +0000
commitfa6cfec3f8befcc650214b37664569e52f21e6b8 (patch)
tree9dc179d45f51b2cd982e1c46a55d5388156f5562
parent961109ae4fde97144fdedeef25607a5b8b3ec2c2 (diff)
Fix sending the SSL connection notice when using a non-SSL gateway.
-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 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();