Merge pull request #7833 from Citadel-Station-13/exemption

JEXP Exemption now exempts from account age locks too
This commit is contained in:
deathride58
2018-12-20 03:15:11 -05:00
committed by GitHub
+2
View File
@@ -127,6 +127,8 @@
return 0
if(!CONFIG_GET(flag/use_age_restriction_for_jobs))
return 0
if(C.prefs.db_flags & DB_FLAG_EXEMPT)
return 0
if(!isnum(C.player_age))
return 0 //This is only a number if the db connection is established, otherwise it is text: "Requires database", meaning these restrictions cannot be enforced
if(!isnum(minimal_player_age))