Webclient re-enabled for admins (#10390)

* re-enable webclient for admins.

* added changelog
This commit is contained in:
ririchiyo
2016-06-04 17:11:06 -04:00
committed by PJB3005
parent 19178bf42a
commit 9c91aedc5e
3 changed files with 11 additions and 3 deletions

View File

@@ -136,8 +136,10 @@
admins += src
holder.owner = src
if(connection != "seeker") //Invalid connection type.
return null
if(connection != "seeker") //Invalid connection type.
if(connection == "web")
if(!holder) return null
else return null
if(byond_version < MIN_CLIENT_VERSION) //Out of date client.
message_admins("[key]/[ckey] has connected with an out of date client! Their version: [byond_version]. They will be kicked shortly.")