# HG changeset patch # User Kim Alvefur # Date 1330981809 -3600 # Node ID e2774644688d65e72c67ecbfac18b60a65986807 # Parent ae48e0abc23399069499ff4e352f2fc4f97e3f27 mod_admin_telnet: (encrypted) is redundant in combination with (secure) diff -r ae48e0abc233 -r e2774644688d plugins/mod_admin_telnet.lua --- 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