aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/muc/muc.lib.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/muc/muc.lib.lua b/plugins/muc/muc.lib.lua
index b61d72b9..5a295bd9 100644
--- a/plugins/muc/muc.lib.lua
+++ b/plugins/muc/muc.lib.lua
@@ -850,7 +850,7 @@ function room_mt:destroy(newjid, reason, password)
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