aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2018-10-31 13:28:02 +0000
committerMatthew Wild <mwild1@gmail.com>2018-10-31 13:28:02 +0000
commit8152af35f587a1d4465ea3d0a8d0081fbc8fb8a5 (patch)
treed03dad334aaf476c73aa6a56e0d8e772e5432f87 /plugins
parent260e23f936814603fc7469b1073deec47f38719a (diff)
downloadprosody-8152af35f587a1d4465ea3d0a8d0081fbc8fb8a5.tar.gz
prosody-8152af35f587a1d4465ea3d0a8d0081fbc8fb8a5.zip
MUC: Add luacheck annotation for unused parameter in filter function
Diffstat (limited to 'plugins')
-rw-r--r--plugins/muc/util.lib.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/muc/util.lib.lua b/plugins/muc/util.lib.lua
index d03b4d6b..53a83fae 100644
--- a/plugins/muc/util.lib.lua
+++ b/plugins/muc/util.lib.lua
@@ -57,7 +57,7 @@ end
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