Diff

plugins/mod_pep.lua @ 8967:c809f334363c

mod_pep: Remove unused variable [luacheck]
author Kim Alvefur <zash@zash.se>
date Fri, 06 Jul 2018 00:06:00 +0200
parent 8966:9106e9286203
line wrap: on
line diff
--- a/plugins/mod_pep.lua	Fri Jul 06 00:04:26 2018 +0200
+++ b/plugins/mod_pep.lua	Fri Jul 06 00:06:00 2018 +0200
@@ -315,7 +315,7 @@
 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