# HG changeset patch # User Kim Alvefur # Date 1577136621 -3600 # Node ID 79fe4ed1332b3235cddcc99eb246276252f80570 # Parent f73947a9bd8cd6443d9bb79c07861ae4d5b768aa mod_presence: Ignore an unused variable [luacheck] Not sure if it should be unused, hence the TODO diff -r f73947a9bd8c -r 79fe4ed1332b plugins/mod_presence.lua --- a/plugins/mod_presence.lua Mon Dec 23 22:29:13 2019 +0100 +++ b/plugins/mod_presence.lua Mon Dec 23 22:30:21 2019 +0100 @@ -192,6 +192,8 @@ -- 1. send unavailable -- 2. route stanza -- 3. roster push (subscription = from or both) + -- luacheck: ignore 211/pending_in + -- Is pending_in meant to be used? local success, pending_in, subscribed = rostermanager.unsubscribed(node, host, to_bare); if success then if subscribed then