inspircd

A modular C++ IRC daemon (ircd). https://www.inspircd.org/
Log | Files | Refs | README

commit fa6cfec3f8befcc650214b37664569e52f21e6b8
parent 961109ae4fde97144fdedeef25607a5b8b3ec2c2
Author: Peter Powell <petpow@saberuk.com>
Date:   Fri, 25 Jan 2019 10:57:37 +0000

Fix sending the SSL connection notice when using a non-SSL gateway.

Diffstat:
Msrc/modules/m_sslinfo.cpp | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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();