2
0
mirror of https://github.com/rehlds/rehlds.git synced 2025-01-17 09:07:54 +03:00

Fix bug with SV_CheckForDuplicateNames

This commit is contained in:
s1lentq 2015-07-06 01:59:56 +06:00
parent 4ba52d1d01
commit 0f5844c6aa

View File

@ -2029,7 +2029,7 @@ int SV_CheckForDuplicateNames(char *userinfo, qboolean bIsReconnecting, int nExc
{
for (i = 0, client = g_psvs.clients; i < g_psvs.maxclients; i++, client++)
{
if (client->active && !(i == nExcludeSlot && bIsReconnecting) && !Q_stricmp(client->name, val))
if (client->connected && !(i == nExcludeSlot && bIsReconnecting) && !Q_stricmp(client->name, val))
break;
}