diff options
author | Kim Alvefur <zash@zash.se> | 2019-12-23 21:55:41 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2019-12-23 21:55:41 +0100 |
commit | 6c9a8d13a0a0e7465a969da62f932c4071b3cb3c (patch) | |
tree | 4b18d9bfe5f68ba5d7c47c5073f38a55812567f2 /plugins | |
parent | eb54e65e689ba596a562f34fa5ee3e24a1eb5ec9 (diff) | |
download | prosody-6c9a8d13a0a0e7465a969da62f932c4071b3cb3c.tar.gz prosody-6c9a8d13a0a0e7465a969da62f932c4071b3cb3c.zip |
mod_vcard_legacy: Ignore an unused variable [luacheck]
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_vcard_legacy.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_vcard_legacy.lua b/plugins/mod_vcard_legacy.lua index 6bae3ee5..a6ff47d0 100644 --- a/plugins/mod_vcard_legacy.lua +++ b/plugins/mod_vcard_legacy.lua @@ -38,7 +38,7 @@ local simple_map = { module:hook("iq-get/bare/vcard-temp:vCard", function (event) local origin, stanza = event.origin, event.stanza; local pep_service = mod_pep.get_pep_service(jid_split(stanza.attr.to) or origin.username); - local ok, id, vcard4_item = pep_service:get_last_item("urn:xmpp:vcard4", stanza.attr.from); + local ok, _, vcard4_item = pep_service:get_last_item("urn:xmpp:vcard4", stanza.attr.from); local vcard_temp = st.stanza("vCard", { xmlns = "vcard-temp" }); if ok and vcard4_item then |