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
commit45b0ace82a72a06e5d558001e5352b6b9a2d5c41 (patch)
treeee762f7d5e901c5c0a141c372fc24231f5679da1
parent502b99f2de61dd3b901f3704ba8338a80b73cdcb (diff)
downloadprosody-45b0ace82a72a06e5d558001e5352b6b9a2d5c41.tar.gz
prosody-45b0ace82a72a06e5d558001e5352b6b9a2d5c41.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'})