mirror of
https://github.com/CHOMPstation/CHOMPstation.git
synced 2026-08-22 19:46:36 +01:00
TopicData is stripped from connecting clients.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4901 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -87,11 +87,14 @@
|
||||
///////////
|
||||
//CONNECT//
|
||||
///////////
|
||||
/client/New()
|
||||
//Connection-Type and client byond_version checking
|
||||
if( connection != "seeker" || (byond_version < MIN_CLIENT_VERSION)) //Out of date or wrong connection type. Update your client!!
|
||||
del(src)
|
||||
return
|
||||
/client/New(TopicData)
|
||||
TopicData = null //Prevent calls to client.Topic from connect
|
||||
|
||||
if(connection != "seeker") //Invalid connection type.
|
||||
return null
|
||||
if(byond_version < MIN_CLIENT_VERSION) //Out of date client.
|
||||
return null
|
||||
|
||||
client_list += src
|
||||
if ( (world.address == address || !address) && !host )
|
||||
host = key
|
||||
@@ -105,7 +108,7 @@
|
||||
holder.owner = src
|
||||
holder.state = null
|
||||
|
||||
..() //calls mob.Login()
|
||||
. = ..() //calls mob.Login()
|
||||
|
||||
if(holder)
|
||||
admin_memo_show()
|
||||
|
||||
Reference in New Issue
Block a user