aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_bosh.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-12-17 20:28:32 +0000
committerMatthew Wild <mwild1@gmail.com>2009-12-17 20:28:32 +0000
commit68bacb8be140c2d546b40be2a91336f55cb832e2 (patch)
tree4ee386a414502cdc2d1c0295fd5ebb625e99720b /plugins/mod_bosh.lua
parentf43c95856a509889acbcd148f15e82fe35b1e5b6 (diff)
downloadprosody-68bacb8be140c2d546b40be2a91336f55cb832e2.tar.gz
prosody-68bacb8be140c2d546b40be2a91336f55cb832e2.zip
mod_bosh: Update for new connection API
Diffstat (limited to 'plugins/mod_bosh.lua')
-rw-r--r--plugins/mod_bosh.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_bosh.lua b/plugins/mod_bosh.lua
index db70006c..bc31b3a1 100644
--- a/plugins/mod_bosh.lua
+++ b/plugins/mod_bosh.lua
@@ -254,7 +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();
+ session.ip = request.handler:ip();
core_process_stanza(session, stanza);
end
end