From ebf2876664150333b33e6ef2f359df6dab3dabfe Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Thu, 9 Oct 2008 03:40:16 +0500 Subject: Fixed: incorrect auth check --- plugins/mod_vcard.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/mod_vcard.lua b/plugins/mod_vcard.lua index 8b76dea7..356b9836 100644 --- a/plugins/mod_vcard.lua +++ b/plugins/mod_vcard.lua @@ -48,7 +48,7 @@ add_iq_handler("c2s", "vcard-temp", add_event_hook("stream-features", function (session, features) - if session.full_jid then + if session.type == "c2s" then t_insert(features, ""); end end); -- cgit v1.2.3