mirror of
https://github.com/etlegacy/wolfadmin.git
synced 2024-11-25 05:31:41 +00:00
Added stub function to retrieve a player's level
This commit is contained in:
parent
5c9e93f62a
commit
dfa2533d7b
2 changed files with 8 additions and 0 deletions
|
@ -38,4 +38,8 @@ function acl.isallowed(clientId, permission)
|
|||
return 1
|
||||
end
|
||||
|
||||
function acl.getlevel(clientId)
|
||||
-- returns level for client
|
||||
end
|
||||
|
||||
return acl
|
||||
|
|
|
@ -111,4 +111,8 @@ function shrubbot.isallowed(clientId, permission)
|
|||
return et.G_shrubbot_permission(clientId, flags[permission])
|
||||
end
|
||||
|
||||
function shrubbot.getlevel(clientId)
|
||||
return et.G_shrubbot_level(clientId)
|
||||
end
|
||||
|
||||
return shrubbot
|
||||
|
|
Loading…
Reference in a new issue