# HG changeset patch # User Kim Alvefur # Date 1330730088 -3600 # Node ID d2eb5962d23544b59bb67f315e01edebe63f4268 # Parent 351936a8de4a8ef275d36a981fb62f9ba14e51b6 mod_s2s: return true when we sent the stanza, or initiated a new s2sout diff -r 351936a8de4a -r d2eb5962d235 plugins/s2s/mod_s2s.lua --- a/plugins/s2s/mod_s2s.lua Sat Mar 03 00:03:06 2012 +0100 +++ b/plugins/s2s/mod_s2s.lua Sat Mar 03 00:14:48 2012 +0100 @@ -90,6 +90,7 @@ end host.sends2s(stanza); host.log("debug", "stanza sent over "..host.type); + return true; end end end, 200); @@ -112,6 +113,7 @@ end return false; end + return true; end, 100); --- Helper to check that a session peer's certificate is valid