mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2025-07-02 15:55:30 +00:00
remove unused error check
This commit is contained in:
parent
93b2559120
commit
67d02d4cf2
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user