# HG changeset patch
# User Kim Alvefur <zash@zash.se>
# Date 1475351467 -7200
# Node ID 65ba769d9f058987b25e3e0c9b9b5799e9915fab
# Parent  7356bf4425f41520341ad45e2ce255d9e71afb7a
MUC: Return 'true' from room:destroy() so that use from the telnet console says 'OK'

diff -r 7356bf4425f4 -r 65ba769d9f05 plugins/muc/muc.lib.lua
--- a/plugins/muc/muc.lib.lua	Sat Oct 01 01:49:26 2016 +0200
+++ b/plugins/muc/muc.lib.lua	Sat Oct 01 21:51:07 2016 +0200
@@ -756,6 +756,7 @@
 	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