Changeset

313:d0d378f15d16

plugins.vcard: Fix previous commit
author Kim Alvefur <zash@zash.se>
date Mon, 27 Aug 2012 00:18:53 +0200
parents 312:f374daa3db4d
children 314:ee5fc3ee9150
files plugins/vcard.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/vcard.lua	Mon Aug 27 00:13:47 2012 +0200
+++ b/plugins/vcard.lua	Mon Aug 27 00:18:53 2012 +0200
@@ -10,7 +10,7 @@
 				local lCard, xCard;
 				vCard = stanza:get_child("vCard", xmlns_vcard);
 				if stanza.attr.type == "result" and vCard then
-					vCard = vcard.from_xep54(xCard)
+					vCard = vcard.from_xep54(vCard)
 					callback(vCard)
 				else
 					callback(false) -- FIXME add error