Software /
code /
prosody
Diff
plugins/mod_s2s/mod_s2s.lua @ 5661:f226a0d23e85
mod_s2s: Set s2s_session.ip
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 09 Jun 2013 12:54:10 +0200 |
parent | 5638:c5b7f4858014 |
child | 5669:9345c161481f |
line wrap: on
line diff
--- a/plugins/mod_s2s/mod_s2s.lua Sat Jun 08 18:08:18 2013 +0100 +++ b/plugins/mod_s2s/mod_s2s.lua Sun Jun 09 12:54:10 2013 +0200 @@ -590,6 +590,7 @@ else -- Outgoing session connected session:open_stream(session.from_host, session.to_host); end + session.ip = conn:ip(); end function listener.onincoming(conn, data)