# HG changeset patch # User Kim Alvefur # Date 1370775250 -7200 # Node ID f226a0d23e856e73866b5faf1171afbfebe81203 # Parent df077bc8f019465153d4fecf2e2eabd071f0e496 mod_s2s: Set s2s_session.ip diff -r df077bc8f019 -r f226a0d23e85 plugins/mod_s2s/mod_s2s.lua --- 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)