Diff

plugins/mod_s2s/mod_s2s.lua @ 7647:e9d7a409e236

Merge 0.10->trunk
author Matthew Wild <mwild1@gmail.com>
date Wed, 31 Aug 2016 16:25:21 +0100
parent 7639:eab307f7435c
parent 7642:2dcb402c4a0d
child 7666:03aa330562ed
line wrap: on
line diff
--- a/plugins/mod_s2s/mod_s2s.lua	Tue Aug 30 17:54:24 2016 +0200
+++ b/plugins/mod_s2s/mod_s2s.lua	Wed Aug 31 16:25:21 2016 +0100
@@ -665,7 +665,6 @@
 			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);