diff options
author | Kim Alvefur <zash@zash.se> | 2018-07-11 02:29:01 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-07-11 02:29:01 +0200 |
commit | 0ac83a5e320b109a0736aa469a9a3d33913d1697 (patch) | |
tree | 395046517b787840fbfc9debac7540c7b83225bc /plugins/muc/muc.lib.lua | |
parent | c259a6b5121af6e504e7c193deae04b804dbc74f (diff) | |
download | prosody-0ac83a5e320b109a0736aa469a9a3d33913d1697.tar.gz prosody-0ac83a5e320b109a0736aa469a9a3d33913d1697.zip |
MUC: Include destruction reason and other info in destroyed event
Diffstat (limited to 'plugins/muc/muc.lib.lua')
-rw-r--r-- | plugins/muc/muc.lib.lua | 2 |
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 |