diff --git a/src/engine/server/server.cpp b/src/engine/server/server.cpp index f9e93d83f..e82e1e214 100644 --- a/src/engine/server/server.cpp +++ b/src/engine/server/server.cpp @@ -409,7 +409,9 @@ void CServer::SetClientName(int ClientID, const char *pName) { if(m_aClients[ClientID].m_State == CClient::STATE_READY) { - Kick(ClientID, "Kicked (your name is banned)"); + char aBuf[256]; + str_format(aBuf, sizeof(aBuf), "Kicked (%s)", pBanned->m_aReason); + Kick(ClientID, aBuf); } return; }