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 | 46105d64bf9627c8618624281c966ec784f4fc12 (patch) | |
tree | 4ec93df10adb5f0babee3cae427685090594f039 | |
parent | b0ad339e78ae34b938af8b58691d1ef962b09890 (diff) | |
download | prosody-46105d64bf9627c8618624281c966ec784f4fc12.tar.gz prosody-46105d64bf9627c8618624281c966ec784f4fc12.zip |
mod_muc: Fix 'destroy rooms' adhoc command (Thanks Florob)
-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 = {}; |