mod_s2s: Fire s2s-check-certificate event after validating a certificate, to allow plugins to override standard procedure

This commit is contained in:
Matthew Wild 2013-03-10 17:49:07 +00:00
parent f936068a62
commit a32c615bc8

View file

@ -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