Diff

plugins/mod_presence.lua @ 8579:801ae5cb1341

mod_presence: Ignore unused argument but make note of its use elsewhere [luacheck]
author Kim Alvefur <zash@zash.se>
date Fri, 09 Mar 2018 21:50:01 +0100
parent 8574:f89d8ec48d86
child 8728:41c959c5c84b
line wrap: on
line diff
--- 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;