aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_pubsub
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-12-23 22:28:42 +0100
committerKim Alvefur <zash@zash.se>2019-12-23 22:28:42 +0100
commit9861fc79f11197e65bd9837a3cda5c2a6c321d8a (patch)
treed8a4866bafa2a974ea3689d02abe9548f80581dd /plugins/mod_pubsub
parenta95900e81c072dc7956addc70b1664695a18261e (diff)
downloadprosody-9861fc79f11197e65bd9837a3cda5c2a6c321d8a.tar.gz
prosody-9861fc79f11197e65bd9837a3cda5c2a6c321d8a.zip
mod_pubsub: Ignore an unused variable [luacheck]
Diffstat (limited to 'plugins/mod_pubsub')
-rw-r--r--plugins/mod_pubsub/pubsub.lib.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_pubsub/pubsub.lib.lua b/plugins/mod_pubsub/pubsub.lib.lua
index 23695211..0938dbbc 100644
--- a/plugins/mod_pubsub/pubsub.lib.lua
+++ b/plugins/mod_pubsub/pubsub.lib.lua
@@ -810,6 +810,7 @@ local function archive_itemstore(archive, config, user, node)
end
module:log("debug", "Listed items %s", data);
return it.reverse(function()
+ -- luacheck: ignore 211/when
local id, payload, when, publisher = data();
if id == nil then
return;