# HG changeset patch # User Kim Alvefur # Date 1375485391 -7200 # Node ID ae0fa4d2005da9594f94cd2540c602f9965f0134 # Parent 6b344b7e4781bdaddad9e046e6cd2460d41e9f2d mod_bidi: Revert to sends2s (Go to sleep zash, you're too tired to code) diff -r 6b344b7e4781 -r ae0fa4d2005d mod_bidi/mod_bidi.lua --- a/mod_bidi/mod_bidi.lua Sat Aug 03 00:56:15 2013 +0200 +++ b/mod_bidi/mod_bidi.lua Sat Aug 03 01:16:31 2013 +0200 @@ -60,7 +60,7 @@ if from_host ~= module.host then return end local to_session = bidi_sessions[to_host]; if not to_session or to_session.type ~= "s2sin" then return end - if to_session.send(stanza) then return true end + if to_session.sends2s(stanza) then return true end end, -2); -- Incoming s2s