mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Mute Evasion
This commit is contained in:
parent
4f777211a5
commit
5db203a1ed
|
@ -134,7 +134,7 @@ void CPlayer::OnDisconnect()
|
|||
str_format(aBuf, sizeof(aBuf), "leave player='%d:%s'", m_ClientID, Server()->ClientName(m_ClientID));
|
||||
GameServer()->Console()->Print(IConsole::OUTPUT_LEVEL_STANDARD, "game", aBuf);
|
||||
if(m_Muted > 0) {
|
||||
str_format(Cmd, sizeof(Cmd), "ban %d %d '%s'", m_ClientID, m_Muted/Server()->TickSpeed(), "ppc");
|
||||
str_format(Cmd, sizeof(Cmd), "ban %d %d '%s'", m_ClientID, m_Muted/Server()->TickSpeed(), "Mute evasion");
|
||||
GameServer()->Console()->ExecuteLine(Cmd, 3, -1);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue