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:
Kim Alvefur 2022-09-23 11:58:15 +02:00
parent afa583dfcd
commit 8b82dc338c

View file

@ -948,7 +948,7 @@ available_columns = {
width = 20;
key = "role";
mapper = function(role)
return role.name;
return role and role.name;
end;
}
};