diff options
author | Kim Alvefur <zash@zash.se> | 2014-08-31 20:33:47 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2014-08-31 20:33:47 +0200 |
commit | 6594e3042b1afd3ecf39c841c6e631fa57f1ad18 (patch) | |
tree | 4ec93df10adb5f0babee3cae427685090594f039 /plugins/muc/mod_muc.lua | |
parent | d1f4af161d8dbd507ed3a91d194e4b77123a08f4 (diff) | |
download | prosody-6594e3042b1afd3ecf39c841c6e631fa57f1ad18.tar.gz prosody-6594e3042b1afd3ecf39c841c6e631fa57f1ad18.zip |
mod_muc: Fix 'destroy rooms' adhoc command (Thanks Florob)
Diffstat (limited to 'plugins/muc/mod_muc.lua')
-rw-r--r-- | plugins/muc/mod_muc.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/muc/mod_muc.lua b/plugins/muc/mod_muc.lua index 5abde57c..5428d270 100644 --- a/plugins/muc/mod_muc.lua +++ b/plugins/muc/mod_muc.lua @@ -240,7 +240,7 @@ do -- Ad-hoc commands }; 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 = {}; |