Software /
code /
prosody
Changeset
9603:4897bd63f624 0.11
MUC: Add luacheck annotation for unused parameter in filter function
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 31 Oct 2018 13:28:02 +0000 |
parents | 9602:b250ffdfae3f |
children | 9604:88c011d01b98 |
files | plugins/muc/util.lib.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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