From d2ed3dc7cca33023d901b15e1606ee56c3f5bd34 Mon Sep 17 00:00:00 2001 From: /dev/humancontroller Date: Sun, 13 Jul 2014 00:02:11 +0200 Subject: allow duplicate GUIDs --- src/game/g_client.c | 16 ---------------- 1 file changed, 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 -- cgit