Software /
code /
prosody
Changeset
6372:305226a9e581
mod_muc: Fix 'destroy rooms' adhoc command (Thanks Florob)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 31 Aug 2014 20:33:47 +0200 |
parents | 6371:624f4689454a |
children | 6383:ec8878113907 |
files | plugins/muc/mod_muc.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/muc/mod_muc.lua Thu Aug 28 12:24:15 2014 +0100 +++ b/plugins/muc/mod_muc.lua Sun Aug 31 20:33:47 2014 +0200 @@ -240,7 +240,7 @@ }; local destroy_rooms_handler = adhoc_initial(destroy_rooms_layout, function() - return { rooms = array.collect(each_room):pluck("jid"):sort(); }; + return { rooms = array.collect(each_room()):pluck("jid"):sort(); }; end, function(fields, errors) if errors then local errmsg = {};