heehoo typo

This commit is contained in:
Timothy Teakettle
2020-11-08 17:33:18 +00:00
parent 29f1132d36
commit 38e60025cf

View File

@@ -87,7 +87,7 @@
var/dbflags = client.prefs.db_flags
if(dbflags & DB_FLAG_AGE_CONFIRMATION_INCOMPLETE) //they have not completed age verification
var/age_verification = askuser(src, "Are you 18+", "Age Verification", "I am 18+", "I am not 18+", null, TRUE, null)
if(age_verification != "1")
if(age_verification != 1)
create_message("note", ckey, "Server - Automated Age Verification", "Failed age verification.", null, null, TRUE, TRUE, null, "9999-01-01", "High") //log this occurence
qdel(client) //kick the user
return FALSE