aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_vcard.lua
diff options
context:
space:
mode:
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 0efc1638..6bf82ee7 100644
--- a/plugins/mod_vcard.lua
+++ b/plugins/mod_vcard.lua
@@ -51,7 +51,7 @@ if module:get_option("vcard_compatibility") then
module:hook("iq/full", function(data)
local stanza = data.stanza;
local payload = stanza.tags[1];
- if stanza.attr.type == "get" or stanza.attr.type == "set" and payload.name == "vCard" and payload.attr.xmlns == "vcard-temp" then
+ if stanza.attr.type == "get" and payload.name == "vCard" and payload.attr.xmlns == "vcard-temp" then
return handle_vcard(data);
end
end, 1);