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 | d53df86e91cf56e780afc8a3975419ebec29be6f (patch) | |
tree | 720637a43b0f7d95fa4f925062fa5584ef067ae6 /plugins | |
parent | e39fde236178e9d41cf0b1f56aae0aad382df96b (diff) | |
download | prosody-d53df86e91cf56e780afc8a3975419ebec29be6f.tar.gz prosody-d53df86e91cf56e780afc8a3975419ebec29be6f.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 |