mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 21:57:45 +03:00
mod_admin_shell: Fix attempt to compare number with string
Missed the # in 93c1590b5951
This commit is contained in:
parent
08c0557093
commit
65dffa88a8
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue