diff plugins/mod_pep_simple.lua @ 10555:f73947a9bd8c

mod_pep_simple: Ignore unused variable [luacheck]
author Kim Alvefur <zash@zash.se>
date Mon, 23 Dec 2019 22:29:13 +0100
parents 0f335815244f
children 39ae08180c81
line wrap: on
line diff
--- a/plugins/mod_pep_simple.lua	Mon Dec 23 22:28:42 2019 +0100
+++ b/plugins/mod_pep_simple.lua	Mon Dec 23 22:29:13 2019 +0100
@@ -85,6 +85,7 @@
 	if d and notify then
 		for node in pairs(notify) do
 			if d[node] then
+				-- luacheck: ignore id
 				local id, item = unpack(d[node]);
 				session.send(st.message({from=user, to=recipient, type='headline'})
 					:tag('event', {xmlns='http://jabber.org/protocol/pubsub#event'})