Fix using wrong name for access levels.

This commit is contained in:
James David Clarke 2024-01-14 21:29:04 +00:00
parent 0ceadfe089
commit 5e4aa6e5a1

@ -83,7 +83,7 @@ function network:get_access_level(player)
if not player then if not player then
return self.default_access_level return self.default_access_level
elseif has_bypass then elseif has_bypass then
return me.constants.access_levels.full return me.constants.security.access_levels.full
elseif type(player) == "string" then elseif type(player) == "string" then
name = player name = player
else else