diff options
Diffstat (limited to 'plugins')
-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 4510d3fa..f8b5fd1c 100644 --- a/plugins/mod_admin_shell.lua +++ b/plugins/mod_admin_shell.lua @@ -1460,7 +1460,7 @@ function def_env.muc:affiliations(room_jid, filter) local total = #affiliated; if filter then affiliated:filter(function(affiliation) - return filter == affiliation[1] or filter == affiliation[2]; + return filter == affiliation[1] or affiliation[2]:find(filter, 1, true); end); end local displayed = #affiliated; |