From 4e6afd282cb5d573da28d68b160dd20ab9acc99e Mon Sep 17 00:00:00 2001 From: Zuhayr Date: Thu, 25 Sep 2014 17:59:28 +0930 Subject: [PATCH] Fixes #6488 --- code/modules/client/client procs.dm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/modules/client/client procs.dm b/code/modules/client/client procs.dm index 39c19c76fe..e38827b1a0 100644 --- a/code/modules/client/client procs.dm +++ b/code/modules/client/client procs.dm @@ -54,7 +54,7 @@ return cmd_admin_irc_pm() return - + //Logs all hrefs @@ -110,7 +110,7 @@ if(byond_version < MIN_CLIENT_VERSION) //Out of date client. return null - if(IsGuestKey(key)) + if(!guests_allowed && IsGuestKey(key)) alert(src,"This server doesn't allow guest accounts to play. Please go to http://www.byond.com/ and register for a key.","Guest","OK") del(src) return @@ -254,7 +254,7 @@ //send resources to the client. It's here in its own proc so we can move it around easiliy if need be /client/proc/send_resources() - + getFiles( 'html/search.js', 'html/panels.css',