From bb927767c2e423163bc365a7b895c0207c82d14b Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Fri, 9 Mar 2018 21:50:01 +0100 Subject: mod_presence: Ignore unused argument but make note of its use elsewhere [luacheck] --- plugins/mod_presence.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/mod_presence.lua b/plugins/mod_presence.lua index 1dcb0aeb..4bce745a 100644 --- a/plugins/mod_presence.lua +++ b/plugins/mod_presence.lua @@ -120,6 +120,8 @@ function handle_normal_presence(origin, stanza) 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; -- cgit v1.2.3