Changeset

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 10554:e1de29c41259
children 10556:79fe4ed1332b
files plugins/mod_pep_simple.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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'})