diff options
author | Matthew Wild <mwild1@gmail.com> | 2013-03-10 17:49:07 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2013-03-10 17:49:07 +0000 |
commit | a32c615bc8170ff7a5a5cb48db751ef7f3803afa (patch) | |
tree | 720637a43b0f7d95fa4f925062fa5584ef067ae6 /plugins | |
parent | f936068a625d3e34d3e72c79e13b81fba34b28ab (diff) | |
download | prosody-a32c615bc8170ff7a5a5cb48db751ef7f3803afa.tar.gz prosody-a32c615bc8170ff7a5a5cb48db751ef7f3803afa.zip |
mod_s2s: Fire s2s-check-certificate event after validating a certificate, to allow plugins to override standard procedure
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_s2s/mod_s2s.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_s2s/mod_s2s.lua b/plugins/mod_s2s/mod_s2s.lua index 1b0ae982..cabe8ea2 100644 --- a/plugins/mod_s2s/mod_s2s.lua +++ b/plugins/mod_s2s/mod_s2s.lua @@ -168,6 +168,7 @@ local function check_cert_status(session) end end end + module:fire_event("s2s-check-certificate", { host = host, session = session, cert = cert }); end --- XMPP stream event handlers |