diff options
Diffstat (limited to 'plugins/mod_admin_shell.lua')
-rw-r--r-- | plugins/mod_admin_shell.lua | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/mod_admin_shell.lua b/plugins/mod_admin_shell.lua index f8fa7242..bd84658d 100644 --- a/plugins/mod_admin_shell.lua +++ b/plugins/mod_admin_shell.lua @@ -745,7 +745,11 @@ available_columns = { width = 5; align = "right"; key = "conn"; - mapper = function(conn) return conn:serverport(); end; + mapper = function(conn) + if conn then + return conn:serverport(); + end + end; }; dir = { title = "Dir"; |