mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 09:18:53 +00:00
Remove unnecessary year > currentYear check
This commit is contained in:
@@ -70,7 +70,7 @@ local function checkDOBFormat(dob)
|
||||
local minYear = currentYear - Config.MaxAge
|
||||
local maxYear = currentYear - 18
|
||||
|
||||
if year < minYear or year > maxYear or year > currentYear then
|
||||
if year < minYear or year > maxYear then
|
||||
return false
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user