Fixed: incorrect auth check

Thu, 09 Oct 2008 03:40:16 +0500

author
Waqas Hussain <waqas20@gmail.com>
date
Thu, 09 Oct 2008 03:40:16 +0500
changeset 89
081e920dc74e
parent 88
023320150c65
child 90
da468ed49a7b

Fixed: incorrect auth check

plugins/mod_vcard.lua file | annotate | diff | comparison | revisions
--- a/plugins/mod_vcard.lua	Thu Oct 09 03:21:16 2008 +0500
+++ b/plugins/mod_vcard.lua	Thu Oct 09 03:40:16 2008 +0500
@@ -48,7 +48,7 @@
 
 add_event_hook("stream-features", 
 					function (session, features)												
-						if session.full_jid then
+						if session.type == "c2s" then
 							t_insert(features, "<feature var='vcard-temp'/>");
 						end
 					end);

mercurial