diff options
author | /dev/humancontroller <devhc@example.com> | 2014-07-13 00:02:11 +0200 |
---|---|---|
committer | /dev/humancontroller <devhc@example.com> | 2017-03-09 13:51:08 +0100 |
commit | d2ed3dc7cca33023d901b15e1606ee56c3f5bd34 (patch) | |
tree | 95e344bea2455dc406f44a27857f8bae3dda116f | |
parent | 7ba2937407eec4a6791c0d1b4b24d595bc25bcaf (diff) |
allow duplicate GUIDs
-rw-r--r-- | src/game/g_client.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/game/g_client.c b/src/game/g_client.c index 065bba34..50a236c3 100644 --- a/src/game/g_client.c +++ b/src/game/g_client.c @@ -1087,22 +1087,6 @@ char *ClientConnect( int clientNum, qboolean firstTime ) if( i < sizeof( client->pers.guid ) - 1 ) return "Invalid GUID"; - for( i = 0; i < level.maxclients; i++ ) - { - if( level.clients[ i ].pers.connected == CON_DISCONNECTED ) - continue; - - if( !Q_stricmp( client->pers.guid, level.clients[ i ].pers.guid ) ) - { - if( !G_ClientIsLagging( level.clients + i ) ) - { - trap_SendServerCommand( i, "cp \"Your GUID is not secure\"" ); - return "Duplicate GUID"; - } - trap_DropClient( i, "Ghost" ); - } - } - client->pers.connected = CON_CONNECTING; // read or initialize the session data |