diff options
author | Waqas Hussain <waqas20@gmail.com> | 2009-11-18 06:22:52 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2009-11-18 06:22:52 +0500 |
commit | 09a6ddbe28ac8c1a174003d0395df1dff43cfb3e (patch) | |
tree | a231bc0a724f2bff1d548c7feaa075f60387accc | |
parent | ae703e45bfafd588fe99250d220f46748e3f1122 (diff) | |
download | prosody-09a6ddbe28ac8c1a174003d0395df1dff43cfb3e.tar.gz prosody-09a6ddbe28ac8c1a174003d0395df1dff43cfb3e.zip |
mod_bosh: Set session.ip for BOSH sessions.
-rw-r--r-- | plugins/mod_bosh.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_bosh.lua b/plugins/mod_bosh.lua index af13bde9..3e41ef7b 100644 --- a/plugins/mod_bosh.lua +++ b/plugins/mod_bosh.lua @@ -254,6 +254,7 @@ function stream_callbacks.handlestanza(request, stanza) if stanza.attr.xmlns == xmlns_bosh then stanza.attr.xmlns = "jabber:client"; end + session.ip = request.handler.ip(); core_process_stanza(session, stanza); end end |