Software / code / prosody
Changeset
10554:e1de29c41259
mod_pubsub: Ignore an unused variable [luacheck]
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Mon, 23 Dec 2019 22:28:42 +0100 |
| parents | 10553:4d8119ffd433 |
| children | 10555:f73947a9bd8c |
| files | plugins/mod_pubsub/pubsub.lib.lua |
| diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
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;