mod_presence: Ignore unused argument but make note of its use elsewhere [luacheck]
authorKim Alvefur <zash@zash.se>
Fri, 09 Mar 2018 21:50:01 +0100
changeset 8582 801ae5cb1341
parent 8577 f89d8ec48d86
child 8584 f7c397935872
mod_presence: Ignore unused argument but make note of its use elsewhere [luacheck]
plugins/mod_presence.lua
--- a/plugins/mod_presence.lua	Fri Mar 09 19:26:35 2018 +0100
+++ b/plugins/mod_presence.lua	Fri Mar 09 21:50:01 2018 +0100
@@ -120,6 +120,8 @@
 	stanza.attr.to = nil; -- reset it
 end
 
+-- luacheck: ignore 212/recipient_session
+-- TODO This argument is used in 3rd party modules
 function send_presence_of_available_resources(user, host, jid, recipient_session, stanza)
 	local h = hosts[host];
 	local count = 0;