# HG changeset patch # User Kim Alvefur # Date 1577136522 -3600 # Node ID e1de29c412596deb1be82d2cfcd7b884471c9ae8 # Parent 4d8119ffd43360f31873cfc4d3ff9d894615affb mod_pubsub: Ignore an unused variable [luacheck] diff -r 4d8119ffd433 -r e1de29c41259 plugins/mod_pubsub/pubsub.lib.lua --- a/plugins/mod_pubsub/pubsub.lib.lua Mon Dec 23 22:28:04 2019 +0100 +++ b/plugins/mod_pubsub/pubsub.lib.lua Mon Dec 23 22:28:42 2019 +0100 @@ -810,6 +810,7 @@ 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;