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 | a6d4b7ca4d2b039273c693d8c08844ef02b744c5 (patch) | |
tree | f6939be558d721a807c6f71d1eb3dd9eb241a399 | |
parent | 38e6533cbd5ba91acc581b3f0821a5c878d3d1d2 (diff) | |
download | prosody-a6d4b7ca4d2b039273c693d8c08844ef02b744c5.tar.gz prosody-a6d4b7ca4d2b039273c693d8c08844ef02b744c5.zip |
mod_s2s: Set s2s_session.ip
-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) |