diff options
author | Kim Alvefur <zash@zash.se> | 2013-06-09 12:54:10 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2013-06-09 12:54:10 +0200 |
commit | 4a611afb8ab3071d35cd2bd567fe677cd6feafd9 (patch) | |
tree | f6939be558d721a807c6f71d1eb3dd9eb241a399 /plugins | |
parent | db42f4e220c074f519e59de7f6521f0923907749 (diff) | |
download | prosody-4a611afb8ab3071d35cd2bd567fe677cd6feafd9.tar.gz prosody-4a611afb8ab3071d35cd2bd567fe677cd6feafd9.zip |
mod_s2s: Set s2s_session.ip
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_s2s/mod_s2s.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_s2s/mod_s2s.lua b/plugins/mod_s2s/mod_s2s.lua index 309940cf..bce617ca 100644 --- a/plugins/mod_s2s/mod_s2s.lua +++ b/plugins/mod_s2s/mod_s2s.lua @@ -590,6 +590,7 @@ function listener.onconnect(conn) else -- Outgoing session connected session:open_stream(session.from_host, session.to_host); end + session.ip = conn:ip(); end function listener.onincoming(conn, data) |