Another known bot client

This commit is contained in:
def 2015-07-13 00:18:59 +02:00
parent 17b8a5219b
commit 0cd9b0006b

View file

@ -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)