Software /
code /
prosody
Changeset
13041:61b00bd20074
mod_admin_shell: Fix attempt to compare number with string
Missed the # in 93c1590b5951
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 07 Apr 2023 13:04:15 +0200 |
parents | 13040:0cbe400ebab4 |
children | 13042:0f05804e974d |
files | plugins/mod_admin_shell.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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