mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 05:37:39 +03:00
mod_admin_shell: Ensure available connection for column 'secure'
Similar to #1777
This commit is contained in:
parent
c51152432a
commit
20532df525
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue