aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_private.lua
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-08-24 20:36:06 +0200
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-08-24 20:36:06 +0200
commit509755ea3fad8724b519459808f1b563b786f853 (patch)
tree8e302560413ab641ebc99e62d1cba929e8dab554 /plugins/mod_private.lua
parentcc4ca8f8460a42be7c7cd6d0aaa9f30e5069d42c (diff)
downloadprosody-509755ea3fad8724b519459808f1b563b786f853.tar.gz
prosody-509755ea3fad8724b519459808f1b563b786f853.zip
mod_private, mod_vcard: Use the usual comment on non-get received iqs.
Diffstat (limited to 'plugins/mod_private.lua')
-rw-r--r--plugins/mod_private.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_private.lua b/plugins/mod_private.lua
index 9375cf80..6046d490 100644
--- a/plugins/mod_private.lua
+++ b/plugins/mod_private.lua
@@ -32,7 +32,7 @@ module:hook("iq/self/jabber:iq:private:query", function(event)
origin.send(st.reply(stanza):add_child(query));
end
return true;
- else -- type == set
+ else -- stanza.attr.type == "set"
local data;
if #tag ~= 0 then
data = st.preserialize(tag);