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 | 2b4d4d841cf3b4d454c84e534a1cb666c1f3ad65 (patch) | |
tree | 5bf6eae6795524b7ac20c55a5a418e704fb64217 | |
parent | bb46efdc6aecf53800cbc22868b1775c6e2cb874 (diff) | |
download | prosody-2b4d4d841cf3b4d454c84e534a1cb666c1f3ad65.tar.gz prosody-2b4d4d841cf3b4d454c84e534a1cb666c1f3ad65.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 |