Browse Source

Fix login server delay in accepting another login attempt

Fix #327
Image 3 years ago
parent
commit
bbef23f125
1 changed files with 1 additions and 1 deletions
  1. 1 1
      EQ2/source/LoginServer/client.cpp

+ 1 - 1
EQ2/source/LoginServer/client.cpp

@@ -753,7 +753,7 @@ void ClientList::Process() {
 			in.s_addr = client->getConnection()->GetRemoteIP();
 			net.numclients--;
 			LogWrite(LOGIN__INFO, 0, "Login", "Removing client from ip: %s on port %i, Account Name: %s", inet_ntoa(in), ntohs(client->getConnection()->GetRemotePort()), client->GetAccountName());
-			client->getConnection()->SetState(CLOSED);
+			client->getConnection()->Close();
 			net.UpdateWindowTitle();
 			client_list.erase(client);
 		}