mod_pep_simple: Ignore unused variable [luacheck]

This commit is contained in:
Kim Alvefur 2019-12-23 22:29:13 +01:00
parent 9861fc79f1
commit 1bd2db0a6c

View file

@ -85,6 +85,7 @@ local function publish_all(user, recipient, session)
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'})