mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Merge pull request #890 from heinrich5991/pr_ddnet_teehistorian_hide_chat
teehistorian: Hide chat from teehistorian
This commit is contained in:
commit
8770a980f1
|
@ -1101,7 +1101,10 @@ void CGameContext::OnMessage(int MsgID, CUnpacker *pUnpacker, int ClientID)
|
||||||
|
|
||||||
if(m_TeeHistorianActive)
|
if(m_TeeHistorianActive)
|
||||||
{
|
{
|
||||||
m_TeeHistorian.RecordPlayerMessage(ClientID, pUnpacker->CompleteData(), pUnpacker->CompleteSize());
|
if(m_NetObjHandler.TeeHistorianRecordMsg(MsgID)
|
||||||
|
{
|
||||||
|
m_TeeHistorian.RecordPlayerMessage(ClientID, pUnpacker->CompleteData(), pUnpacker->CompleteSize());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!pRawMsg)
|
if(!pRawMsg)
|
||||||
|
|
Loading…
Reference in a new issue