author | Kim Alvefur <zash@zash.se> |
Wed, 26 Jun 2013 13:35:38 +0200 | |
changeset 5713 | 5cf6dedf36f4 |
parent 5712 | 177fe6978ba8 |
child 5715 | ce9818e48ebb |
--- a/plugins/mod_s2s/mod_s2s.lua Mon Jun 24 18:29:04 2013 +0100 +++ b/plugins/mod_s2s/mod_s2s.lua Wed Jun 26 13:35:38 2013 +0200 @@ -139,6 +139,8 @@ return event.session.sends2s(' '); end +module:hook("s2s-read-timeout", keepalive, -1); + function module.add_host(module) if module:get_option_boolean("disallow_s2s", false) then module:log("warn", "The 'disallow_s2s' config option is deprecated, please see http://prosody.im/doc/s2s#disabling");