Skip to content
Snippets Groups Projects
Commit 1648203d authored by Randy Sommerfeld's avatar Randy Sommerfeld
Browse files

Use ssl_session for reporting secure connections via WHOIS. Found by nelgin, thanks!

parent dac4695d
No related branches found
No related tags found
No related merge requests found
...@@ -1135,7 +1135,7 @@ function IRCClient_do_whois(wi) { ...@@ -1135,7 +1135,7 @@ function IRCClient_do_whois(wi) {
)); ));
} }
if (wi.local) { if (wi.local) {
if (wi.socket.ssl_server) { if (wi.socket.ssl_session) {
this.numeric(671, format( this.numeric(671, format(
"%s :is using a secure connection.", "%s :is using a secure connection.",
wi.nick wi.nick
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment