Changed: Minor changes

This commit is contained in:
kervala 2016-10-18 17:45:55 +02:00
parent 535f5b8bde
commit 44c61c03e5

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];