# HG changeset patch # User Kim Alvefur # Date 1520628601 -3600 # Node ID 801ae5cb13413684eb89ed6fd7a43d52d906347f # Parent f89d8ec48d8699431eafc0daa90a3166d6b45918 mod_presence: Ignore unused argument but make note of its use elsewhere [luacheck] diff -r f89d8ec48d86 -r 801ae5cb1341 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;