mirror of
https://github.com/etlegacy/wolfadmin.git
synced 2024-11-25 13:41:21 +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
|
return 1
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function acl.getlevel(clientId)
|
||||||
|
-- returns level for client
|
||||||
|
end
|
||||||
|
|
||||||
return acl
|
return acl
|
||||||
|
|
|
@ -111,4 +111,8 @@ function shrubbot.isallowed(clientId, permission)
|
||||||
return et.G_shrubbot_permission(clientId, flags[permission])
|
return et.G_shrubbot_permission(clientId, flags[permission])
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function shrubbot.getlevel(clientId)
|
||||||
|
return et.G_shrubbot_level(clientId)
|
||||||
|
end
|
||||||
|
|
||||||
return shrubbot
|
return shrubbot
|
||||||
|
|
Loading…
Reference in a new issue