Mercurial > prosody-hg
diff plugins/mod_vcard.lua @ 10552:f1cf8c08a09d
mod_vcard: Remove unused variable [luacheck]
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Mon, 23 Dec 2019 22:27:25 +0100 |
| parents | e2e2aa76ea31 |
| children | 74b9e05af71e |
line wrap: on
line diff
--- a/plugins/mod_vcard.lua Mon Dec 23 22:24:31 2019 +0100 +++ b/plugins/mod_vcard.lua Mon Dec 23 22:27:25 2019 +0100 @@ -19,7 +19,7 @@ if stanza.attr.type == "get" then local vCard; if to then - local node, host = jid_split(to); + local node = jid_split(to); vCard = st.deserialize(vcards:get(node)); -- load vCard for user or server else vCard = st.deserialize(vcards:get(session.username));-- load user's own vCard
