Fixed typo in _handle_get_vcard()

This commit is contained in:
Paulo Freitas 2012-06-16 05:06:34 -03:00 committed by Lance Stout
parent 8da387a38a
commit 7d59a8a0ad

View file

@ -107,7 +107,7 @@ class XEP_0054(BasePlugin):
self.api['set_vcard'](jid=iq['from'], args=iq['vcard_temp'])
return
elif iq['type'] == 'get':
vcard = self.api['get_vard'](iq['from'].bare)
vcard = self.api['get_vcard'](iq['from'].bare)
if isinstance(vcard, Iq):
vcard.send()
else: