Software /
code /
prosody
Diff
plugins/muc/util.lib.lua @ 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 |
parent | 9599:5a2135964ed3 |
child | 10713:38159b9adf9f |
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