# HG changeset patch # User Kim Alvefur # Date 1680865455 -7200 # Node ID 61b00bd200749c19c4a466e0e4847aa11be1a1d4 # Parent 0cbe400ebab453e2f36dc55f3149d3edeb3d128d mod_admin_shell: Fix attempt to compare number with string Missed the # in 93c1590b5951 diff -r 0cbe400ebab4 -r 61b00bd20074 plugins/mod_admin_shell.lua --- a/plugins/mod_admin_shell.lua Fri Apr 07 13:02:20 2023 +0200 +++ b/plugins/mod_admin_shell.lua Fri Apr 07 13:04:15 2023 +0200 @@ -869,7 +869,7 @@ 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