diff options
author | Waqas Hussain <waqas20@gmail.com> | 2008-10-09 03:40:16 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2008-10-09 03:40:16 +0500 |
commit | ebf2876664150333b33e6ef2f359df6dab3dabfe (patch) | |
tree | cf8807714b50bfb4057b0ce1cd48996ca00ec309 /plugins/mod_vcard.lua | |
parent | 9048ca53285397c3853cc3ae4b970fd0aed9f990 (diff) | |
download | prosody-ebf2876664150333b33e6ef2f359df6dab3dabfe.tar.gz prosody-ebf2876664150333b33e6ef2f359df6dab3dabfe.zip |
Fixed: incorrect auth check
Diffstat (limited to 'plugins/mod_vcard.lua')
-rw-r--r-- | plugins/mod_vcard.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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, "<feature var='vcard-temp'/>"); end end); |