diff options
author | Kim Alvefur <zash@zash.se> | 2016-10-01 21:51:07 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2016-10-01 21:51:07 +0200 |
commit | d22a43da00e6feab2b360d81330deb02e58f396a (patch) | |
tree | 5bf6eae6795524b7ac20c55a5a418e704fb64217 | |
parent | ca9cbd607f1dd9621237c6284fbf53dc5ba321c8 (diff) | |
download | prosody-d22a43da00e6feab2b360d81330deb02e58f396a.tar.gz prosody-d22a43da00e6feab2b360d81330deb02e58f396a.zip |
MUC: Return 'true' from room:destroy() so that use from the telnet console says 'OK'
-rw-r--r-- | plugins/muc/muc.lib.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/muc/muc.lib.lua b/plugins/muc/muc.lib.lua index 4018489a..cc147d19 100644 --- a/plugins/muc/muc.lib.lua +++ b/plugins/muc/muc.lib.lua @@ -756,6 +756,7 @@ function room_mt:destroy(newjid, reason, password) end self:set_persistent(false); module:fire_event("muc-room-destroyed", { room = self }); + return true; end function room_mt:handle_to_room(origin, stanza) -- presence changes and groupchat messages, along with disco/etc |