Fixed minor rename issue caused by 9012d54da4
(refs #69, #75)
This commit is contained in:
parent
9012d54da4
commit
e36d70aefa
|
@ -49,7 +49,7 @@ function acl.clearCache()
|
||||||
end
|
end
|
||||||
|
|
||||||
function acl.isPlayerAllowed(clientId, permission)
|
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)
|
return data[level] ~= nil and tables.contains(data[level], permission)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue