Diff

plugins/mod_admin_telnet.lua @ 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
parent 4514:ae48e0abc233
child 4516:24bb3994df7a
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