aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2008-10-09 03:40:16 +0500
committerWaqas Hussain <waqas20@gmail.com>2008-10-09 03:40:16 +0500
commitebf2876664150333b33e6ef2f359df6dab3dabfe (patch)
treecf8807714b50bfb4057b0ce1cd48996ca00ec309 /plugins
parent9048ca53285397c3853cc3ae4b970fd0aed9f990 (diff)
downloadprosody-ebf2876664150333b33e6ef2f359df6dab3dabfe.tar.gz
prosody-ebf2876664150333b33e6ef2f359df6dab3dabfe.zip
Fixed: incorrect auth check
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_vcard.lua2
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);