diff options
author | Kim Alvefur <zash@zash.se> | 2019-12-23 22:27:25 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2019-12-23 22:27:25 +0100 |
commit | 2d7c3d090b88245b323b9b1f474b587a030d6e3e (patch) | |
tree | 6984538087e2f8275983de56767a20583e3f579c /plugins/mod_vcard.lua | |
parent | 7c8ad7bede58bd7a37da11eec8fef6ed83dc37f0 (diff) | |
download | prosody-2d7c3d090b88245b323b9b1f474b587a030d6e3e.tar.gz prosody-2d7c3d090b88245b323b9b1f474b587a030d6e3e.zip |
mod_vcard: Remove unused variable [luacheck]
Diffstat (limited to 'plugins/mod_vcard.lua')
-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 b1a4c6e8..c3d6fb8b 100644 --- a/plugins/mod_vcard.lua +++ b/plugins/mod_vcard.lua @@ -19,7 +19,7 @@ local function handle_vcard(event) 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 |