This commit is contained in:
Deyvan 2022-08-05 07:17:08 +04:00 committed by GitHub
parent bde520a16a
commit 3a947b975a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -223,7 +223,7 @@ function meta:IsAdmin()
if ucl.groups[ ULib.ACCESS_ADMIN ] then
return self:CheckGroup( ULib.ACCESS_ADMIN )
else -- Group doesn't exist, fall back on garry's method
origIsAdmin( self )
return origIsAdmin( self )
end
end
@ -248,7 +248,7 @@ function meta:IsSuperAdmin()
if ucl.groups[ ULib.ACCESS_SUPERADMIN ] then
return self:CheckGroup( ULib.ACCESS_SUPERADMIN )
else -- Group doesn't exist, fall back on garry's method
origIsSuperAdmin( self )
return origIsSuperAdmin( self )
end
end