cleanup on udplib if, and hopefully properly disconnect on unsuccessful

logins to prevent blocking legit users - will have to test dossing after
this
This commit is contained in:
DarthArgus
2016-10-03 00:13:50 -05:00
parent f8f761821b
commit 7a48471d6d
2 changed files with 6 additions and 8 deletions
@@ -251,7 +251,8 @@ void ClientConnection::validateClient(const std::string & id, const std::string
LoginServer::getInstance().onValidateClient(suid, uname, this, true, NULL, 0xFFFFFFFF, 0xFFFFFFFF);
}
// else this case will never be reached, noop
disconnect(); // to remove from their connection count
}
// ----------------------------------------------------------------------------