Added stub function to retrieve a player's level

This commit is contained in:
Timo Smit 2016-08-29 23:41:51 +02:00
parent 5c9e93f62a
commit dfa2533d7b
2 changed files with 8 additions and 0 deletions

View file

@ -38,4 +38,8 @@ function acl.isallowed(clientId, permission)
return 1
end
function acl.getlevel(clientId)
-- returns level for client
end
return acl

View file

@ -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