Software /
code /
prosody
Changeset
10552:f1cf8c08a09d
mod_vcard: Remove unused variable [luacheck]
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 23 Dec 2019 22:27:25 +0100 |
parents | 10551:27b275633156 |
children | 10553:4d8119ffd433 |
files | plugins/mod_vcard.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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