summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'sleekxmpp/plugins')
-rw-r--r--sleekxmpp/plugins/xep_0054/vcard_temp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0054/vcard_temp.py b/sleekxmpp/plugins/xep_0054/vcard_temp.py
index b9096759..2c462037 100644
--- a/sleekxmpp/plugins/xep_0054/vcard_temp.py
+++ b/sleekxmpp/plugins/xep_0054/vcard_temp.py
@@ -114,7 +114,7 @@ class XEP_0054(BasePlugin):
iq.reply()
iq.append(vcard)
iq.send()
- else:
+ elif iq['type'] == 'set':
raise XMPPError('service-unavailable')
# =================================================================