Changed: Minor changes

--HG--
branch : develop
This commit is contained in:
kervala 2016-10-18 17:45:55 +02:00
parent a656985518
commit a62e5ec380

View file

@ -377,7 +377,7 @@ void clientAuthentication(CMessage &msgin, TSockId from, CCallbackNetBase &netba
{ {
if (!Clients[i]->Authentificated && Clients[i]->getSock() == from) if (!Clients[i]->Authentificated && Clients[i]->getSock() == from)
{ {
if (!Clients[i]->BadLogin) // don't allow new login attempt while thisflag is set if (!Clients[i]->BadLogin) // don't allow new login attempt while this flag is set
{ {
// escape login // escape login
char esccapedLogin[100]; char esccapedLogin[100];