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 | cadce751213fe3eddb4eb5320520beb602ab8a68 (patch) | |
tree | 395046517b787840fbfc9debac7540c7b83225bc /plugins | |
parent | 991ef406627652b61e430ca756a1a07a83dcbb02 (diff) | |
download | prosody-cadce751213fe3eddb4eb5320520beb602ab8a68.tar.gz prosody-cadce751213fe3eddb4eb5320520beb602ab8a68.zip |
MUC: Include destruction reason and other info in destroyed event
Diffstat (limited to 'plugins')
-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 |