Diff

plugins/muc/util.lib.lua @ 9606:cb684a0ded2a

Merge 0.11->trunk
author Matthew Wild <mwild1@gmail.com>
date Wed, 31 Oct 2018 14:34:35 +0000
parent 9603:4897bd63f624
child 10713:38159b9adf9f
line wrap: on
line diff
--- a/plugins/muc/util.lib.lua	Wed Oct 31 13:17:02 2018 +0000
+++ b/plugins/muc/util.lib.lua	Wed Oct 31 14:34:35 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