author | Matthew Wild <mwild1@gmail.com> |
Fri, 16 Oct 2009 00:11:55 +0100 | |
changeset 1957 | 5856b2dcf81e |
parent 1956 | ec04b571fa86 |
child 1958 | e2b0026143c4 |
--- a/plugins/mod_vcard.lua Thu Oct 15 23:21:55 2009 +0100 +++ b/plugins/mod_vcard.lua Fri Oct 16 00:11:55 2009 +0100 @@ -61,7 +61,7 @@ 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