aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_admin_shell.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_admin_shell.lua b/plugins/mod_admin_shell.lua
index 1b28029b..04e35a23 100644
--- a/plugins/mod_admin_shell.lua
+++ b/plugins/mod_admin_shell.lua
@@ -1402,7 +1402,7 @@ function def_env.muc:occupants(room_jid, filter)
local print = self.session.print;
local row = format_table({
- { title = "Role"; width = #"participant"; key = "role" }; -- longest role name
+ { title = "Role"; width = 12; key = "role" }; -- longest role name
{ title = "JID"; width = "75%"; key = "bare_jid" };
{ title = "Nickname"; width = "25%"; key = "nick"; mapper = jid_resource };
}, self.session.width);
@@ -1434,7 +1434,7 @@ function def_env.muc:affiliations(room_jid, filter)
local print = self.session.print;
local row = format_table({
- { title = "Affiliation"; width = #"outcast" }; -- longest affiliation name
+ { title = "Affiliation"; width = 12 }; -- longest affiliation name
{ title = "JID"; width = "75%" };
{ title = "Nickname"; width = "25%"; key = "reserved_nickname" };
}, self.session.width);