remove unused error check

This commit is contained in:
Lion Kortlepel 2022-10-06 01:29:00 +02:00
parent 93b2559120
commit 67d02d4cf2
No known key found for this signature in database
GPG Key ID: 4322FF2B4C71259B

View File

@ -151,9 +151,6 @@ void TNetwork::TCPServerMain() {
if (ec) {
beammp_errorf("failed to accept: {}", ec.what());
}
if (!ec) {
beammp_errorf("failed to set send timeout on client socket: {}", ec.what());
}
TConnection Conn { std::move(ClientSocket), ClientEp };
std::thread ID(&TNetwork::Identify, this, std::move(Conn));
ID.detach(); // TODO: Add to a queue and attempt to join periodically