aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-12-23 22:27:25 +0100
committerKim Alvefur <zash@zash.se>2019-12-23 22:27:25 +0100
commit7f50de114c80d8ea3723381fd36b819ce3bf3aa7 (patch)
tree6984538087e2f8275983de56767a20583e3f579c /plugins
parentae314b7e5107f700d41d0faff61af0ffbeb278a0 (diff)
downloadprosody-7f50de114c80d8ea3723381fd36b819ce3bf3aa7.tar.gz
prosody-7f50de114c80d8ea3723381fd36b819ce3bf3aa7.zip
mod_vcard: Remove unused variable [luacheck]
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_vcard.lua2
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