# HG changeset patch # User Matthew Wild # Date 1540992482 0 # Node ID 4897bd63f6241ed0c62b313d240c73ef911dc25c # Parent b250ffdfae3fc42e8728cd74e518a438aa3401a8 MUC: Add luacheck annotation for unused parameter in filter function diff -r b250ffdfae3f -r 4897bd63f624 plugins/muc/util.lib.lua --- a/plugins/muc/util.lib.lua Wed Oct 31 13:18:01 2018 +0000 +++ b/plugins/muc/util.lib.lua Wed Oct 31 13:28:02 2018 +0000 @@ -57,7 +57,7 @@ function _M.only_with_min_role(role) local min_role_value = _M.valid_roles[role]; - return function (nick, occupant) + return function (nick, occupant) --luacheck: ignore 212/nick if _M.valid_roles[occupant.role or "none"] >= min_role_value then return true; end