diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-10-16 00:11:55 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-10-16 00:11:55 +0100 |
commit | 2139dc47e4a3acaea463fc799ca83b7e39fd517a (patch) | |
tree | f530aa502f59c46f775b69410d7138271bb62f6d /plugins | |
parent | de0acfbe34af7eb353570966ff038b91bbfdfa07 (diff) | |
download | prosody-2139dc47e4a3acaea463fc799ca83b7e39fd517a.tar.gz prosody-2139dc47e4a3acaea463fc799ca83b7e39fd517a.zip |
mod_vcard: Hide me from the trailing-whitespace police
Diffstat (limited to 'plugins')
-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 9ab84ba8..e2016c97 100644 --- a/plugins/mod_vcard.lua +++ b/plugins/mod_vcard.lua @@ -61,7 +61,7 @@ module:add_iq_handler({"c2s", "s2sin", "component"}, xmlns_vcard, handle_vcard); if module:get_option("vcard_compatibility") then module:hook("iq/full", function (data) local stanza = data.stanza; - if stanza.attr.type == "get" and stanza.tags[1] + if stanza.attr.type == "get" and stanza.tags[1] and stanza.tags[1].attr.xmlns == xmlns_vcard then return handle_vcard(data.origin, stanza); end |