aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_vcard.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
commit2dc6f58f0dee1a2e5eaaeecf1637a883225e0cd7 (patch)
tree8e302560413ab641ebc99e62d1cba929e8dab554 /plugins/mod_vcard.lua
parent0207fe0e1da8ff34d8247c50daa150e9e0928f00 (diff)
downloadprosody-2dc6f58f0dee1a2e5eaaeecf1637a883225e0cd7.tar.gz
prosody-2dc6f58f0dee1a2e5eaaeecf1637a883225e0cd7.zip
mod_private, mod_vcard: Use the usual comment on non-get received iqs.
Diffstat (limited to 'plugins/mod_vcard.lua')
-rw-r--r--plugins/mod_vcard.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_vcard.lua b/plugins/mod_vcard.lua
index bda039a3..b1a4c6e8 100644
--- a/plugins/mod_vcard.lua
+++ b/plugins/mod_vcard.lua
@@ -29,7 +29,7 @@ local function handle_vcard(event)
else
session.send(st.error_reply(stanza, "cancel", "item-not-found"));
end
- else
+ else -- stanza.attr.type == "set"
if not to then
if vcards:set(session.username, st.preserialize(stanza.tags[1])) then
session.send(st.reply(stanza));