From 1648203dcdf1513a735f8a3e391ec17665264d8d Mon Sep 17 00:00:00 2001 From: Randy Sommerfeld <cyan@synchro.net> Date: Wed, 15 Dec 2021 06:58:54 +0700 Subject: [PATCH] Use ssl_session for reporting secure connections via WHOIS. Found by nelgin, thanks! --- exec/load/ircd/core.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exec/load/ircd/core.js b/exec/load/ircd/core.js index 8e5af63490..a96b69a71e 100644 --- a/exec/load/ircd/core.js +++ b/exec/load/ircd/core.js @@ -1135,7 +1135,7 @@ function IRCClient_do_whois(wi) { )); } if (wi.local) { - if (wi.socket.ssl_server) { + if (wi.socket.ssl_session) { this.numeric(671, format( "%s :is using a secure connection.", wi.nick -- GitLab