forked from TeamUlysses/ulib
Fixes #27
This commit is contained in:
parent
bb22495876
commit
ef1e70d393
@ -2,6 +2,7 @@
|
||||
|
||||
## v2.62 - *(00/00/00)*
|
||||
* [ADD] Enhancements from and to CAMI.
|
||||
* [FIX] Registers ULib-created CAMI groups on client side properly now (thanks, Roboderpy).
|
||||
|
||||
## v2.61 - *(05/22/16)*
|
||||
* [FIX] NPCs loading from saves (Thanks, GamingStudios1029).
|
||||
|
@ -177,6 +177,12 @@ if CLIENT then
|
||||
function ucl.initClientUCL( authed, groups )
|
||||
ucl.authed = authed
|
||||
ucl.groups = groups
|
||||
for name, data in pairs( groups ) do
|
||||
if not ULib.findInTable( {"superadmin", "admin", "user"}, name ) then
|
||||
inherit_from = data.inherit_from or "user"
|
||||
CAMI.RegisterUsergroup( {Name=name, Inherits=inherit_from}, CAMI.ULX_TOKEN )
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -1 +1 @@
|
||||
1473020428
|
||||
1477528391
|
||||
|
Loading…
Reference in New Issue
Block a user