mirror of
https://github.com/rehlds/rehlds.git
synced 2025-01-01 01:25:38 +03:00
Merge pull request #48 from s1lentq/master
Fix bug with SV_CheckForDuplicateNames
This commit is contained in:
commit
d654561606
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user