diff options
author | Kim Alvefur <zash@zash.se> | 2022-09-23 11:58:15 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2022-09-23 11:58:15 +0200 |
commit | 8b82dc338c5e4a6a08cc945d2b65466743f4e352 (patch) | |
tree | d3cfdcd3aa1398034b1e6550c63799c07b2a2350 /plugins/mod_admin_shell.lua | |
parent | afa583dfcdcf1e3a53ccb88691985a1c691046d0 (diff) | |
download | prosody-8b82dc338c5e4a6a08cc945d2b65466743f4e352.tar.gz prosody-8b82dc338c5e4a6a08cc945d2b65466743f4e352.zip |
mod_admin_shell: Fix display of session without role (thanks Link Mauve)
This can happen to sessions before they are assigned a role
Diffstat (limited to 'plugins/mod_admin_shell.lua')
-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 14fab8ad..97464579 100644 --- a/plugins/mod_admin_shell.lua +++ b/plugins/mod_admin_shell.lua @@ -948,7 +948,7 @@ available_columns = { width = 20; key = "role"; mapper = function(role) - return role.name; + return role and role.name; end; } }; |