diff options
| author | 2019-01-25 10:57:37 +0000 | |
|---|---|---|
| committer | 2019-01-25 18:05:39 +0000 | |
| commit | fa6cfec3f8befcc650214b37664569e52f21e6b8 (patch) | |
| tree | 9dc179d45f51b2cd982e1c46a55d5388156f5562 /src/modules/m_sslinfo.cpp | |
| parent | Remove trailing whitespace from various source files. (diff) | |
Fix sending the SSL connection notice when using a non-SSL gateway.
Diffstat (limited to 'src/modules/m_sslinfo.cpp')
| -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(); |
