From de0f558ad436c8cd08ed77d8da0dbf965ac260b5 Mon Sep 17 00:00:00 2001 From: heinrich5991 Date: Sat, 16 Oct 2010 22:16:16 +0200 Subject: [PATCH] send "server is full" to clients trying to join reserved slots --- src/engine/server/server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/server/server.cpp b/src/engine/server/server.cpp index 0651edc36..c68bd2094 100644 --- a/src/engine/server/server.cpp +++ b/src/engine/server/server.cpp @@ -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; }