reset rcon AuthTries on logout. Closes #941

This commit is contained in:
oy 2012-03-04 12:47:02 +01:00
parent 5253f2ffa1
commit d9c27c8426

View file

@ -1548,6 +1548,7 @@ void CServer::ConLogout(IConsole::IResult *pResult, void *pUser)
pServer->SendMsgEx(&Msg, MSGFLAG_VITAL, pServer->m_RconClientID, true);
pServer->m_aClients[pServer->m_RconClientID].m_Authed = AUTHED_NO;
pServer->m_aClients[pServer->m_RconClientID].m_AuthTries = 0;
pServer->m_aClients[pServer->m_RconClientID].m_pRconCmdToSend = 0;
pServer->SendRconLine(pServer->m_RconClientID, "Logout successful.");
char aBuf[32];