aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_disco.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-03-24 00:28:18 +0100
committerKim Alvefur <zash@zash.se>2017-03-24 00:28:18 +0100
commite6142a0d4b1e5b72236e357287a8e74f57695ef0 (patch)
treeb29f3839bd4152e61572e19ae12ecdbd56b1f538 /plugins/mod_disco.lua
parentee51a6cf84d7f07a9b0780c02ad2d56e523df0eb (diff)
parent12e5d691c25fddbcb8ff2e24583cc2a3ffa651e1 (diff)
downloadprosody-e6142a0d4b1e5b72236e357287a8e74f57695ef0.tar.gz
prosody-e6142a0d4b1e5b72236e357287a8e74f57695ef0.zip
Merge 0.9->0.10
Diffstat (limited to 'plugins/mod_disco.lua')
-rw-r--r--plugins/mod_disco.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_disco.lua b/plugins/mod_disco.lua
index 517fcaec..250252c0 100644
--- a/plugins/mod_disco.lua
+++ b/plugins/mod_disco.lua
@@ -112,7 +112,7 @@ module:hook("iq/host/http://jabber.org/protocol/disco#info:query", function(even
return true;
end
local reply_query = get_server_disco_info();
- reply_query.node = node;
+ reply_query.attr.node = node;
local reply = st.reply(stanza):add_child(reply_query);
origin.send(reply);
return true;