mirror of
https://github.com/ddnet/ddnet.git
synced 2024-09-20 09:34:19 +00:00
Put quotes around player names in leave message.
This commit is contained in:
parent
69adb4800e
commit
3857096a20
|
@ -96,7 +96,7 @@ void CPlayer::OnDisconnect()
|
|||
if(Server()->ClientIngame(m_ClientID))
|
||||
{
|
||||
char aBuf[512];
|
||||
str_format(aBuf, sizeof(aBuf), "%s has left the game", Server()->ClientName(m_ClientID));
|
||||
str_format(aBuf, sizeof(aBuf), "\"%s\" has left the game", Server()->ClientName(m_ClientID));
|
||||
GameServer()->SendChat(-1, CGameContext::CHAT_ALL, aBuf);
|
||||
|
||||
str_format(aBuf, sizeof(aBuf), "leave player='%d:%s'", m_ClientID, Server()->ClientName(m_ClientID));
|
||||
|
|
Loading…
Reference in a new issue