From 2cfeb86ca0a89c305cc70fd9f00e16fddfbd5535 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Mon, 5 Mar 2012 22:10:09 +0100 Subject: mod_admin_telnet: (encrypted) is redundant in combination with (secure) --- plugins/mod_admin_telnet.lua | 3 +-- 1 file changed, 1 insertion(+), 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 -- cgit v1.2.3