mirror of
https://github.com/etlegacy/wolfadmin.git
synced 2025-02-19 18:30:56 +00:00
Fixed minor rename issue caused by 9012d54da4
(refs #69, #75)
This commit is contained in:
parent
9012d54da4
commit
e36d70aefa
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ function acl.clearCache()
|
|||
end
|
||||
|
||||
function acl.isPlayerAllowed(clientId, permission)
|
||||
local level = acl.getlevel(clientId)
|
||||
local level = acl.getPlayerLevel(clientId)
|
||||
|
||||
return data[level] ~= nil and tables.contains(data[level], permission)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue