author | Matthew Wild <mwild1@gmail.com> |
Wed, 21 Mar 2018 22:10:24 +0000 | |
changeset 8645 | d2556f237bc2 |
parent 8644 | c7734b59506f |
child 8646 | 11b6aa30b3e0 |
--- a/plugins/mod_proxy65.lua Wed Mar 21 22:08:54 2018 +0000 +++ b/plugins/mod_proxy65.lua Wed Mar 21 22:10:24 2018 +0000 @@ -123,7 +123,7 @@ 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);