Software /
code /
prosody
Changeset
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 |
parents | 8574:f89d8ec48d86 |
children | 8581:f7c397935872 |
files | plugins/mod_presence.lua |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
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;