mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-10 01:09:50 +00:00
Visual Studio 2013 compilation support for Ryzom Server
This commit is contained in:
parent
9eae8d81ec
commit
f0a6384fbb
1 changed files with 3 additions and 1 deletions
|
@ -418,7 +418,9 @@ void clientAuthentication(CMessage &msgin, TSockId from, CCallbackNetBase &netba
|
|||
// fail the authentication
|
||||
// Do not send result immediatly to avoid a potential hacker
|
||||
// to try a dictionnary or that dort of things
|
||||
BadLoginClients.insert(std::make_pair(NLMISC::CTime::getLocalTime() + LOGIN_RETRY_DELAY_IN_MILLISECONDS, Clients[i]));
|
||||
BadLoginClients.insert(std::pair<NLMISC::TTime, NLMISC::CRefPtr<CMonitorClient> >(
|
||||
NLMISC::CTime::getLocalTime() + LOGIN_RETRY_DELAY_IN_MILLISECONDS,
|
||||
(NLMISC::CRefPtr<CMonitorClient>)Clients[i]));
|
||||
Clients[i]->BadLogin =true;
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue