mod_presence: Ignore an unused variable [luacheck]
authorKim Alvefur <zash@zash.se>
Mon, 23 Dec 2019 22:30:21 +0100
changeset 10560 79fe4ed1332b
parent 10559 f73947a9bd8c
child 10561 e1cb869e2f6c
mod_presence: Ignore an unused variable [luacheck] Not sure if it should be unused, hence the TODO
plugins/mod_presence.lua
--- a/plugins/mod_presence.lua	Mon Dec 23 22:29:13 2019 +0100
+++ b/plugins/mod_presence.lua	Mon Dec 23 22:30:21 2019 +0100
@@ -192,6 +192,8 @@
 		-- 1. send unavailable
 		-- 2. route stanza
 		-- 3. roster push (subscription = from or both)
+		-- luacheck: ignore 211/pending_in
+		-- Is pending_in meant to be used?
 		local success, pending_in, subscribed = rostermanager.unsubscribed(node, host, to_bare);
 		if success then
 			if subscribed then