Merge branch 'feature/auth' into feature/standalone

This commit is contained in:
Timo Smit 2016-08-29 23:43:34 +02:00
commit 6a6ba42d7c
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