This commit is contained in:
Brett Smith 2016-10-26 19:32:57 -05:00
parent bb22495876
commit ef1e70d393
3 changed files with 8 additions and 1 deletions

View File

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

View File

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

View File

@ -1 +1 @@
1473020428
1477528391