Skip to content

Commit

Permalink
safer than openssh
Browse files Browse the repository at this point in the history
  • Loading branch information
ChillerDragon committed Jul 4, 2024
1 parent c2489c3 commit 4b4fe9d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/game/client/components/chillerbot/chathelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,8 @@ void CChatHelper::OnChatMessage(int ClientId, int Team, const char *pMsg)
{
if(m_pClient->m_aLocalIds[0] == -1)
return;
if(m_pClient->Client()->DummyConnected() && m_pClient->m_aLocalIds[1] == -1)
return;
if(ClientId >= 0 && ClientId != m_pClient->m_aLocalIds[0] && (!m_pClient->Client()->DummyConnected() || ClientId != m_pClient->m_aLocalIds[1]))
{
// main character
Expand Down

0 comments on commit 4b4fe9d

Please sign in to comment.