Diff

mod_vjud/mod_vjud.lua @ 2179:a90c7d7e7413

mod_vjud: Fix missing comma (thanks Tobias)
author Kim Alvefur <zash@zash.se>
date Tue, 24 May 2016 11:59:25 +0200
parent 2008:cf3bdcb633f0
child 4910:5dffb85e62c4
line wrap: on
line diff
--- a/mod_vjud/mod_vjud.lua	Sun May 22 00:06:21 2016 +0200
+++ b/mod_vjud/mod_vjud.lua	Tue May 24 11:59:25 2016 +0200
@@ -59,7 +59,7 @@
 };
 
 local function get_user_vcard(user, host)
-	local vCard err = dm_load(user, host or base_host, "vcard");
+	local vCard, err = dm_load(user, host or base_host, "vcard");
 	if not vCard then return nil, err; end
 	vCard = st.deserialize(vCard);
 	vCard, err = vcard.from_xep54(vCard);