From d22a43da00e6feab2b360d81330deb02e58f396a Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sat, 1 Oct 2016 21:51:07 +0200 Subject: MUC: Return 'true' from room:destroy() so that use from the telnet console says 'OK' --- plugins/muc/muc.lib.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins/muc/muc.lib.lua') 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 -- cgit v1.2.3