aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_pep.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-07-06 00:06:00 +0200
committerKim Alvefur <zash@zash.se>2018-07-06 00:06:00 +0200
commit8e0beb786280cd6130bd0ca1e65c9ef5d05f3741 (patch)
tree825193e2cbfb415dfaedd1bbeee4454ad492cb32 /plugins/mod_pep.lua
parent6347a3f9bfa374bc954acb95577235293462db4c (diff)
downloadprosody-8e0beb786280cd6130bd0ca1e65c9ef5d05f3741.tar.gz
prosody-8e0beb786280cd6130bd0ca1e65c9ef5d05f3741.zip
mod_pep: Remove unused variable [luacheck]
Diffstat (limited to 'plugins/mod_pep.lua')
-rw-r--r--plugins/mod_pep.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_pep.lua b/plugins/mod_pep.lua
index 2cadb361..f0b5d7ef 100644
--- a/plugins/mod_pep.lua
+++ b/plugins/mod_pep.lua
@@ -315,7 +315,7 @@ module:hook("account-disco-items", function(event)
end);
module:hook("account-disco-info-node", function (event)
- local session, stanza, node = event.origin, event.stanza, event.node;
+ local stanza, node = event.stanza, event.node;
local user = stanza.attr.to;
local user_data = data[user];
if user_data and user_data[node] then