Software /
code /
prosody
Changeset
7639:eab307f7435c
Merge 0.10->trunk
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 28 Aug 2016 05:15:13 +0200 |
parents | 7637:cccea9136b2d (current diff) 7638:a23b5cb8c22b (diff) |
children | 7640:279f348e9a92 |
files | plugins/mod_s2s/mod_s2s.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_s2s/mod_s2s.lua Sat Aug 27 18:39:23 2016 +0200 +++ b/plugins/mod_s2s/mod_s2s.lua Sun Aug 28 05:15:13 2016 +0200 @@ -665,6 +665,7 @@ if s2sout.attempt_connection(session, err) then return; -- Session lives for now end + hosts[session.from_host].events.fire_event("s2s-connect-failure", { session = session, err = err }); end (session.log or log)("debug", "s2s disconnected: %s->%s (%s)", tostring(session.from_host), tostring(session.to_host), tostring(err or "connection closed")); s2s_destroy_session(session, err);