mod_pep_simple: Ignore unused variable [luacheck]
authorKim Alvefur <zash@zash.se>
Mon, 23 Dec 2019 22:29:13 +0100
changeset 10559 f73947a9bd8c
parent 10558 e1de29c41259
child 10560 79fe4ed1332b
mod_pep_simple: Ignore unused variable [luacheck]
plugins/mod_pep_simple.lua
--- 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'})