plugins/muc/muc.lib.lua
changeset 9014 ce8e5206aeba
parent 9010 695904638cfa
child 9020 1184f5762592
--- a/plugins/muc/muc.lib.lua	Wed Jul 11 02:25:07 2018 +0200
+++ b/plugins/muc/muc.lib.lua	Wed Jul 11 02:29:01 2018 +0200
@@ -850,7 +850,7 @@
 	x:up();
 	self.destroying = reason or true;
 	self:clear(x);
-	module:fire_event("muc-room-destroyed", { room = self });
+	module:fire_event("muc-room-destroyed", { room = self, reason = reason, newjid = newjid, password = password });
 	return true;
 end