Software /
code /
prosody
Changeset
4515:e2774644688d
mod_admin_telnet: (encrypted) is redundant in combination with (secure)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 05 Mar 2012 22:10:09 +0100 |
parents | 4514:ae48e0abc233 |
children | 4516:24bb3994df7a |
files | plugins/mod_admin_telnet.lua |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_admin_telnet.lua Mon Mar 05 22:07:40 2012 +0100 +++ b/plugins/mod_admin_telnet.lua Mon Mar 05 22:10:09 2012 +0100 @@ -490,8 +490,7 @@ local function session_flags(session, line) if session.cert_identity_status == "valid" then line[#line+1] = "(secure)"; - end - if session.secure then + elseif session.secure then line[#line+1] = "(encrypted)"; end if session.compressed then