diff options
author | Peter Powell <petpow@saberuk.com> | 2019-01-25 10:57:37 +0000 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2019-01-25 18:05:39 +0000 |
commit | fa6cfec3f8befcc650214b37664569e52f21e6b8 (patch) | |
tree | 9dc179d45f51b2cd982e1c46a55d5388156f5562 | |
parent | 961109ae4fde97144fdedeef25607a5b8b3ec2c2 (diff) |
Fix sending the SSL connection notice when using a non-SSL gateway.
-rw-r--r-- | src/modules/m_sslinfo.cpp | 2 |
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(); |