From 4a756fa1fa804588c926373af217d9b857e5b12a Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Wed, 31 Oct 2018 13:28:02 +0000 Subject: MUC: Add luacheck annotation for unused parameter in filter function --- plugins/muc/util.lib.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') 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 -- cgit v1.2.3