From 2b4d4d841cf3b4d454c84e534a1cb666c1f3ad65 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') 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