diff options
author | Kim Alvefur <zash@zash.se> | 2012-03-05 22:10:09 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2012-03-05 22:10:09 +0100 |
commit | b0477db2640555c5d8972d7af99d35e4863f4ce0 (patch) | |
tree | fb00a3303e989f9d47f1d2ad76be2fe66a1f6c80 /plugins/mod_admin_telnet.lua | |
parent | 1758d8c92c1915af55e037972069a618e207497e (diff) | |
download | prosody-b0477db2640555c5d8972d7af99d35e4863f4ce0.tar.gz prosody-b0477db2640555c5d8972d7af99d35e4863f4ce0.zip |
mod_admin_telnet: (encrypted) is redundant in combination with (secure)
Diffstat (limited to 'plugins/mod_admin_telnet.lua')
-rw-r--r-- | plugins/mod_admin_telnet.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/mod_admin_telnet.lua b/plugins/mod_admin_telnet.lua index b96f69b9..ca30a3b4 100644 --- a/plugins/mod_admin_telnet.lua +++ b/plugins/mod_admin_telnet.lua @@ -490,8 +490,7 @@ end 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 |