aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_pubsub/pubsub.lib.lua
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
commit502b99f2de61dd3b901f3704ba8338a80b73cdcb (patch)
treed8a4866bafa2a974ea3689d02abe9548f80581dd /plugins/mod_pubsub/pubsub.lib.lua
parent5aeaa9dc903d109bd2b71eb826f52d5e3ab7d54b (diff)
downloadprosody-502b99f2de61dd3b901f3704ba8338a80b73cdcb.tar.gz
prosody-502b99f2de61dd3b901f3704ba8338a80b73cdcb.zip
mod_pubsub: Ignore an unused variable [luacheck]
Diffstat (limited to 'plugins/mod_pubsub/pubsub.lib.lua')
-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;