From a32c615bc8170ff7a5a5cb48db751ef7f3803afa Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Sun, 10 Mar 2013 17:49:07 +0000 Subject: mod_s2s: Fire s2s-check-certificate event after validating a certificate, to allow plugins to override standard procedure --- plugins/mod_s2s/mod_s2s.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins/mod_s2s') 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 -- cgit v1.2.3