From 69adb4800eca6fafb0754197ef5586f5a463c66b Mon Sep 17 00:00:00 2001 From: Fujnky Date: Sun, 5 Sep 2010 20:18:14 +0200 Subject: Put quotes around player names in server messages. --- src/game/server/gamecontext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/server/gamecontext.cpp') diff --git a/src/game/server/gamecontext.cpp b/src/game/server/gamecontext.cpp index 1b96b812..9db02cea 100644 --- a/src/game/server/gamecontext.cpp +++ b/src/game/server/gamecontext.cpp @@ -499,7 +499,7 @@ void CGameContext::OnClientEnter(int ClientId) //world.insert_entity(&players[client_id]); m_apPlayers[ClientId]->Respawn(); char aBuf[512]; - str_format(aBuf, sizeof(aBuf), "%s entered and joined the %s", Server()->ClientName(ClientId), m_pController->GetTeamName(m_apPlayers[ClientId]->GetTeam())); + str_format(aBuf, sizeof(aBuf), "\"%s\" entered and joined the %s", Server()->ClientName(ClientId), m_pController->GetTeamName(m_apPlayers[ClientId]->GetTeam())); SendChat(-1, CGameContext::CHAT_ALL, aBuf); str_format(aBuf, sizeof(aBuf), "team_join player='%d:%s' team=%d", ClientId, Server()->ClientName(ClientId), m_apPlayers[ClientId]->GetTeam()); -- cgit 1.4.1