diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-01-13 15:29:00 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-01-13 15:29:00 +0000 |
commit | 4dc4d175d135e293f48ed6a15f61b19c4dafe8d7 (patch) | |
tree | c4a1aeb92f7ccaccc8fd919d065d3add4c71c12d /core/sessionmanager.lua | |
parent | bb7d8604f252ce84bdea1cb791114dfc40c5a958 (diff) | |
parent | 8b979ccaf40ae38dbeaa5e7a4edb2e6d760fdffa (diff) | |
download | prosody-4dc4d175d135e293f48ed6a15f61b19c4dafe8d7.tar.gz prosody-4dc4d175d135e293f48ed6a15f61b19c4dafe8d7.zip |
Automated merge with http://waqas.ath.cx:8000/
Diffstat (limited to 'core/sessionmanager.lua')
-rw-r--r-- | core/sessionmanager.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/sessionmanager.lua b/core/sessionmanager.lua index 963de7ce..f04ca29c 100644 --- a/core/sessionmanager.lua +++ b/core/sessionmanager.lua @@ -58,6 +58,7 @@ function new_session(conn) log("info", "open sessions now: ".. open_sessions); local w = conn.write; session.send = function (t) w(tostring(t)); end + session.ip = conn.ip(); return session; end |