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
commitd3f6d6cfa97d3576a0935eeba45ccd92db75c7de (patch)
tree825193e2cbfb415dfaedd1bbeee4454ad492cb32 /plugins/mod_pep.lua
parent97f4bd0e64637eec416a7739594b6350f10ad828 (diff)
downloadprosody-d3f6d6cfa97d3576a0935eeba45ccd92db75c7de.tar.gz
prosody-d3f6d6cfa97d3576a0935eeba45ccd92db75c7de.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