Config option for the paranoid

This commit is contained in:
AffectedArc07
2019-03-03 11:37:49 +00:00
parent d1a161cf8f
commit 6ab0344bb6
3 changed files with 13 additions and 4 deletions
+4 -3
View File
@@ -311,9 +311,10 @@
//Admin Authorisation
// Automatically makes localhost connection an admin
var/localhost_addresses = list("127.0.0.1", "::1") // Adresses
if(!isnull(address) && address in localhost_addresses)
new /datum/admins("!LOCALHOST!", R_HOST, ckey) // Makes localhost rank
if(!config.disable_localhost_admin)
var/localhost_addresses = list("127.0.0.1", "::1") // Adresses
if(!isnull(address) && address in localhost_addresses)
new /datum/admins("!LOCALHOST!", R_HOST, ckey) // Makes localhost rank
holder = admin_datums[ckey]
if(holder)
GLOB.admins += src