From d1a161cf8fdf91db58146173b2120d1152e3530d Mon Sep 17 00:00:00 2001 From: AffectedArc07 Date: Sat, 2 Mar 2019 12:28:59 +0000 Subject: [PATCH] ;SECURITY HELP --- code/modules/client/client procs.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/client/client procs.dm b/code/modules/client/client procs.dm index e9a2880b34d..614367d20d0 100644 --- a/code/modules/client/client procs.dm +++ b/code/modules/client/client procs.dm @@ -312,7 +312,7 @@ //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)) + if(!isnull(address) && address in localhost_addresses) new /datum/admins("!LOCALHOST!", R_HOST, ckey) // Makes localhost rank holder = admin_datums[ckey] if(holder)