aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar steering72532026-07-01 14:22:08 -0600
committerGravatar steering72532026-07-01 14:22:08 -0600
commit76403941cfd68fc52d294c424baf25811294afba (patch)
tree6cb781748d3bf5e3841b655def2254c2de16d0e6
parentBump actions/cache from 5 to 6 (diff)
m_sslinfo - fix /WEBIRC without secure insp4
-rw-r--r--src/modules/m_sslinfo.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/modules/m_sslinfo.cpp b/src/modules/m_sslinfo.cpp
index b473209f9..d4f3d939f 100644
--- a/src/modules/m_sslinfo.cpp
+++ b/src/modules/m_sslinfo.cpp
@@ -559,8 +559,11 @@ public:
{
// We are only interested in connection flags. If none have been
// given then we have nothing to do.
- if (!flags)
+ if (!flags && cmd.sslapi.GetCertificate(user)) {
+ cmd.sslapi.nosslext.Set(user);
+ cmd.sslapi.sslext.Unset(user);
return;
+ }
// We only care about the tls connection flag if the connection
// between the gateway and the server is secure.