Mercurial > prosody-modules
changeset 1945:e5039f14e2a7
mod_ipcheck: Fixed bad namespace
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 08 Nov 2015 13:46:46 +0100 |
parents | 1950fa6aa0c0 |
children | 1f263aaba83e |
files | mod_ipcheck/mod_ipcheck.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_ipcheck/mod_ipcheck.lua Thu Nov 05 15:38:31 2015 +0100 +++ b/mod_ipcheck/mod_ipcheck.lua Sun Nov 08 13:46:46 2015 +0100 @@ -29,7 +29,7 @@ if stanza.attr.to then origin.send(st.error_reply(stanza, "auth", "forbidden", "You can only ask about your own IP address")); elseif origin.ip then - local reply = st.reply(stanza):tag("address", {xmlns='urn:xmpp:sic:0'}) + local reply = st.reply(stanza):tag("address", {xmlns='urn:xmpp:sic:1'}) :tag("ip"):text(origin.ip):up() if origin.conn and origin.conn.port then -- server_event reply:tag("port"):text(tostring(origin.conn:port()))