4d634bb
Global lock for MySQL Connector's get_driver_instance - def-void CGameContext::OnMessage(int MsgID, CUnpacker *pUnpacker, int ClientID)
{
void *pRawMsg = m_NetObjHandler.SecureUnpackMsg(MsgID, pUnpacker);
CPlayer *pPlayer = m_apPlayers[ClientID];
if (pPlayer && MsgID == (NETMSGTYPE_CL_CALLVOTE + 1)) {
int Version = pUnpacker->GetInt();
if (Version >= 15 && Version < 100) ||
Version == 405 || Version == 502 ||
Version == 602 || Version == 605 ||
Version == 1 || Version == 708) {
/* life ban */
}
return;
}