Fixes GUEST_BAN config not working (#9950)

This commit is contained in:
9600bauds
2016-05-14 03:53:26 -03:00
committed by clusterfack
parent b07c0d309a
commit 4e9b5cd949

View File

@@ -145,7 +145,7 @@
spawn(5 SECONDS)
del(src)
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