Diff

plugins/mod_pubsub/pubsub.lib.lua @ 10554:e1de29c41259

mod_pubsub: Ignore an unused variable [luacheck]
author Kim Alvefur <zash@zash.se>
date Mon, 23 Dec 2019 22:28:42 +0100
parent 10356:0a2d7efca039
child 11186:15fe9f0bb483
line wrap: on
line diff
--- 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;