diff options
author | Matthew Wild <mwild1@gmail.com> | 2018-10-31 14:34:35 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2018-10-31 14:34:35 +0000 |
commit | 9fd674431232094979eac5bc33634d00e8bcf816 (patch) | |
tree | ff8d81db3fbb073c3f8f60152ff6e1b372a1254b /plugins/muc/util.lib.lua | |
parent | d62045b02c9fc2e5cb2ee216690bc4fbb0e9cb45 (diff) | |
parent | bab787b0ec0e5fc7dbb2f3f5ff59187af5c56f31 (diff) | |
download | prosody-9fd674431232094979eac5bc33634d00e8bcf816.tar.gz prosody-9fd674431232094979eac5bc33634d00e8bcf816.zip |
Merge 0.11->trunk
Diffstat (limited to 'plugins/muc/util.lib.lua')
-rw-r--r-- | plugins/muc/util.lib.lua | 2 |
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 |