diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_admin_shell.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_admin_shell.lua b/plugins/mod_admin_shell.lua index 94b428a3..d0affcaf 100644 --- a/plugins/mod_admin_shell.lua +++ b/plugins/mod_admin_shell.lua @@ -710,7 +710,7 @@ local available_columns = { width = 11; mapper = function(conn, session) if not session.secure then return "insecure"; end - if not conn:ssl() then return "secure" end + if not conn or not conn:ssl() then return "secure" end local sock = conn and conn:socket(); if not sock then return "unknown TLS"; end local tls_info = sock.info and sock:info(); |