Software /
code /
prosody
Diff
plugins/mod_s2s/mod_s2s.lua @ 7542:0f92dc8e8b88
Merge 0.10->trunk
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 08 Aug 2016 16:41:09 +0200 |
parent | 7467:9a73c85baffe |
parent | 7537:a0813737c6fa |
child | 7639:eab307f7435c |
line wrap: on
line diff
--- a/plugins/mod_s2s/mod_s2s.lua Sat Aug 06 11:58:01 2016 +0200 +++ b/plugins/mod_s2s/mod_s2s.lua Mon Aug 08 16:41:09 2016 +0200 @@ -673,8 +673,8 @@ function listener.onreadtimeout(conn) local session = sessions[conn]; - local host = session.host or session.to_host; if session then + local host = session.host or session.to_host; return (hosts[host] or prosody).events.fire_event("s2s-read-timeout", { session = session }); end end