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)