mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Another known bot client
This commit is contained in:
parent
17b8a5219b
commit
0cd9b0006b
|
@ -1478,7 +1478,7 @@ void CGameContext::OnMessage(int MsgID, CUnpacker *pUnpacker, int ClientID)
|
||||||
if (Version < VERSION_DDNET_UPDATER_FIXED && g_Config.m_SvClientSuggestionOld[0] != '\0')
|
if (Version < VERSION_DDNET_UPDATER_FIXED && g_Config.m_SvClientSuggestionOld[0] != '\0')
|
||||||
SendBroadcast(g_Config.m_SvClientSuggestionOld, ClientID);
|
SendBroadcast(g_Config.m_SvClientSuggestionOld, ClientID);
|
||||||
//tell known bot clients that they're botting and we know it
|
//tell known bot clients that they're botting and we know it
|
||||||
if ((Version >= 15 && Version < 100) && g_Config.m_SvClientSuggestionBot[0] != '\0')
|
if (((Version >= 15 && Version < 100) || Version == 502) && g_Config.m_SvClientSuggestionBot[0] != '\0')
|
||||||
SendBroadcast(g_Config.m_SvClientSuggestionBot, ClientID);
|
SendBroadcast(g_Config.m_SvClientSuggestionBot, ClientID);
|
||||||
}
|
}
|
||||||
else if (MsgID == NETMSGTYPE_CL_SHOWOTHERS)
|
else if (MsgID == NETMSGTYPE_CL_SHOWOTHERS)
|
||||||
|
|
Loading…
Reference in a new issue