aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-12-23 22:29:13 +0100
committerKim Alvefur <zash@zash.se>2019-12-23 22:29:13 +0100
commit1bd2db0a6c060dc2faf3421811c3eaffee498233 (patch)
treeee762f7d5e901c5c0a141c372fc24231f5679da1
parent9861fc79f11197e65bd9837a3cda5c2a6c321d8a (diff)
downloadprosody-1bd2db0a6c060dc2faf3421811c3eaffee498233.tar.gz
prosody-1bd2db0a6c060dc2faf3421811c3eaffee498233.zip
mod_pep_simple: Ignore unused variable [luacheck]
-rw-r--r--plugins/mod_pep_simple.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_pep_simple.lua b/plugins/mod_pep_simple.lua
index 11268ab7..e686b99b 100644
--- a/plugins/mod_pep_simple.lua
+++ b/plugins/mod_pep_simple.lua
@@ -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'})