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
commitf2b2195de45826747826751df89ed4aee9577988 (patch)
treeb29f3839bd4152e61572e19ae12ecdbd56b1f538 /plugins/mod_disco.lua
parent4f82974fa80987ebe9b2ebc3c88564c529787903 (diff)
parent8a2a50c07a67d4d072e3dd045f9b0058e967fc0e (diff)
downloadprosody-f2b2195de45826747826751df89ed4aee9577988.tar.gz
prosody-f2b2195de45826747826751df89ed4aee9577988.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;