Deadmin tweaks: Admins without +AUTOLOGIN start deadmined. AUTOLOGIN defaults to on.

This commit is contained in:
Kyle Spier-Swenson
2017-12-13 19:03:37 -08:00
committed by CitadelStationBot
parent b11d1c024e
commit 55247e9bdf
11 changed files with 178 additions and 100 deletions
+1 -1
View File
@@ -18,7 +18,7 @@
return list("reason"="invalid login data", "desc"="Error: Could not check ban status, Please try again. Error message: Your computer provided an invalid Computer ID.)")
var/admin = 0
var/ckey = ckey(key)
if((ckey in GLOB.admin_datums) || (ckey in GLOB.deadmins))
if(GLOB.admin_datums[ckey] || GLOB.deadmins[ckey])
admin = 1
//Whitelist