diff options
author | Kim Alvefur <zash@zash.se> | 2015-08-10 22:13:02 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2015-08-10 22:13:02 +0200 |
commit | 051811cd38e05d63bd9c043e466ac744c0c58feb (patch) | |
tree | f597c6c7674580ed33d3c4a12c546a4ae7368aaf | |
parent | d3ff677ce8be30231ee116bdde22633fe89c3bd3 (diff) | |
download | prosody-051811cd38e05d63bd9c043e466ac744c0c58feb.tar.gz prosody-051811cd38e05d63bd9c043e466ac744c0c58feb.zip |
mod_component: Fire an event on successful component authentication (For Goffi)
-rw-r--r-- | plugins/mod_component.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_component.lua b/plugins/mod_component.lua index 7bc0f5b7..11abab79 100644 --- a/plugins/mod_component.lua +++ b/plugins/mod_component.lua @@ -85,6 +85,7 @@ function module.add_host(module) session.type = "component"; module:log("info", "External component successfully authenticated"); session.send(st.stanza("handshake")); + module:fire_event("component-authenticated", { session = session }); return true; end |