author | Kim Alvefur <zash@zash.se> |
Sat, 04 Jan 2014 20:01:11 +0100 | |
changeset 1264 | 2db2c03dfb95 |
parent 1263 | fe29627a5ed8 |
child 1265 | 020165014e56 |
--- a/mod_s2s_keepalive/mod_s2s_keepalive.lua Fri Jan 03 16:24:11 2014 -0500 +++ b/mod_s2s_keepalive/mod_s2s_keepalive.lua Sat Jan 04 20:01:11 2014 +0100 @@ -19,7 +19,7 @@ for session in pairs(prosody.incoming_s2s) do if session.type == "s2sin" -- as opposed to _unauthed and (not(keepalive_servers) or keepalive_servers:contains(session.from_host)) then - session.conn:send " "; + session.sends2s " "; -- If the connection is dead, this should make it time out. end end