# HG changeset patch # User Waqas Hussain # Date 1223505616 -18000 # Node ID 081e920dc74eb7ef2146b0c17f8d563b44073da8 # Parent 023320150c6594473ac472e03e47e7ad2cdb3d9d Fixed: incorrect auth check diff -r 023320150c65 -r 081e920dc74e plugins/mod_vcard.lua --- 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, ""); end end);