Commit a0c5b852 authored by Randy Sommerfeld's avatar Randy Sommerfeld
Browse files

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

parent 8dd98cfd
...@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment