diff options
author | Kim Alvefur <zash@zash.se> | 2022-10-23 16:22:12 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2022-10-23 16:22:12 +0200 |
commit | 20532df52592717027b1cb138da71abc8913ffbf (patch) | |
tree | 17c7b710386271fbc0476473e0f17a6f741de185 /plugins | |
parent | c51152432a24b2030d19b002734df9046b7a076c (diff) | |
download | prosody-20532df52592717027b1cb138da71abc8913ffbf.tar.gz prosody-20532df52592717027b1cb138da71abc8913ffbf.zip |
mod_admin_shell: Ensure available connection for column 'secure'
Similar to #1777
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 bd84658d..dda35f08 100644 --- a/plugins/mod_admin_shell.lua +++ b/plugins/mod_admin_shell.lua @@ -816,7 +816,7 @@ available_columns = { width = 30; key = "conn"; mapper = function(conn) - local sock = conn:socket(); + local sock = conn and conn:socket(); local info = sock and sock.info and sock:info(); if info then return info.cipher end end; |