mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 21:57:45 +03:00
mod_admin_shell: Fix display of session without role (thanks Link Mauve)
This can happen to sessions before they are assigned a role
This commit is contained in:
parent
afa583dfcd
commit
8b82dc338c
1 changed files with 1 additions and 1 deletions
|
@ -948,7 +948,7 @@ available_columns = {
|
|||
width = 20;
|
||||
key = "role";
|
||||
mapper = function(role)
|
||||
return role.name;
|
||||
return role and role.name;
|
||||
end;
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue