mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Merge branch 'master' of http://github.com/heinrich5991/DDRace
This commit is contained in:
commit
4ff5cd8707
|
@ -680,7 +680,7 @@ void CServer::ProcessClientPacket(CNetChunk *pPacket)
|
|||
// reserved slot
|
||||
if(ClientId >= (g_Config.m_SvMaxClients-g_Config.m_SvReservedSlots) && g_Config.m_SvReservedSlotsPass[0] != 0 && strcmp(g_Config.m_SvReservedSlotsPass, pPassword) != 0)
|
||||
{
|
||||
m_NetServer.Drop(ClientId, "Dropped due reserved slot");
|
||||
m_NetServer.Drop(ClientId, "This server is full");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue