diff options
author | Matthew Wild <mwild1@gmail.com> | 2013-05-14 09:38:54 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2013-05-14 09:38:54 +0100 |
commit | 567608e4cc0db72bb52b0636dae6e9bad5b08967 (patch) | |
tree | b86a1c45fbce3384d59838f15874809dfd441913 /plugins/muc/mod_muc.lua | |
parent | 54c432bb2237c765a4aa984f62414a2e89fad4fb (diff) | |
download | prosody-567608e4cc0db72bb52b0636dae6e9bad5b08967.tar.gz prosody-567608e4cc0db72bb52b0636dae6e9bad5b08967.zip |
mod_muc: Fire muc-room-created and muc-room-destroyed events (thanks nik)
Diffstat (limited to 'plugins/muc/mod_muc.lua')
-rw-r--r-- | plugins/muc/mod_muc.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/muc/mod_muc.lua b/plugins/muc/mod_muc.lua index 7861092c..0f1beb0e 100644 --- a/plugins/muc/mod_muc.lua +++ b/plugins/muc/mod_muc.lua @@ -83,6 +83,7 @@ function create_room(jid) room.route_stanza = room_route_stanza; room.save = room_save; rooms[jid] = room; + module:fire_event("muc-room-created", { room = room }); return room; end |