From 65dffa88a8823412edea52129345a2d773067480 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Fri, 7 Apr 2023 13:04:15 +0200 Subject: mod_admin_shell: Fix attempt to compare number with string Missed the # in 93c1590b5951 --- plugins/mod_admin_shell.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/mod_admin_shell.lua b/plugins/mod_admin_shell.lua index 43903aa7..291aa09b 100644 --- a/plugins/mod_admin_shell.lua +++ b/plugins/mod_admin_shell.lua @@ -869,7 +869,7 @@ available_columns = { title = "Security"; description = "TLS version or security status"; key = "conn"; - width = math.max(#"secure", "TLSvX.Y"); + width = math.max(#"secure", #"TLSvX.Y"); mapper = function(conn, session) if not session.secure then return "insecure"; end if not conn or not conn:ssl() then return "secure" end -- cgit v1.2.3