From e455a0d244d1d410813e420850bbc6659ddc3daa Mon Sep 17 00:00:00 2001 From: DarthArgus Date: Mon, 3 Oct 2016 00:22:16 -0500 Subject: [PATCH] whoops --- .../application/LoginServer/src/shared/ClientConnection.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/server/application/LoginServer/src/shared/ClientConnection.cpp b/engine/server/application/LoginServer/src/shared/ClientConnection.cpp index a15c47f7..994cbb5c 100755 --- a/engine/server/application/LoginServer/src/shared/ClientConnection.cpp +++ b/engine/server/application/LoginServer/src/shared/ClientConnection.cpp @@ -250,9 +250,9 @@ void ClientConnection::validateClient(const std::string & id, const std::string LOG("LoginClientConnection", ("validateClient() for stationId (%lu) at IP (%s), id (%s)", m_stationId, getRemoteAddress().c_str(), uname.c_str())); LoginServer::getInstance().onValidateClient(suid, uname, this, true, NULL, 0xFFFFFFFF, 0xFFFFFFFF); + } else { + disconnect(); // to remove from their connection count } - - disconnect(); // to remove from their connection count } // ----------------------------------------------------------------------------