diff options
author | Matthew Wild <mwild1@gmail.com> | 2018-03-21 22:10:24 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2018-03-21 22:10:24 +0000 |
commit | a8767a8d3d342efe3f927889a98eacd281c66996 (patch) | |
tree | b89a5a8b375702cf1e006d58d7e3cdbad8269fdb /plugins/mod_proxy65.lua | |
parent | b05ae66934aec8ae910856f9c90ae89fef9d2fef (diff) | |
download | prosody-a8767a8d3d342efe3f927889a98eacd281c66996.tar.gz prosody-a8767a8d3d342efe3f927889a98eacd281c66996.zip |
mod_proxy65: Fix passing number to stanza API (thanks mimi89999)
Diffstat (limited to 'plugins/mod_proxy65.lua')
-rw-r--r-- | plugins/mod_proxy65.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_proxy65.lua b/plugins/mod_proxy65.lua index cbbfad12..cf1d4c60 100644 --- a/plugins/mod_proxy65.lua +++ b/plugins/mod_proxy65.lua @@ -123,7 +123,7 @@ function module.add_host(module) local sid = stanza.tags[1].attr.sid; origin.send(st.reply(stanza):tag("query", {xmlns="http://jabber.org/protocol/bytestreams", sid=sid}) - :tag("streamhost", {jid=host, host=proxy_address, port=proxy_port})); + :tag("streamhost", {jid=host, host=proxy_address, port=("%d"):format(proxy_port)})); return true; end); |