Fix printing, make CI into unique_ptr (more)

This commit is contained in:
Lion Kortlepel
2020-11-08 21:46:02 +01:00
parent b663563f01
commit 7fce274915
6 changed files with 8 additions and 5 deletions

View File

@@ -113,7 +113,7 @@ void TCPRcv(Client*c){
}
void TCPClient(Client*c){
DebugPrintTID();
DebugPrintTIDInternal(c->GetName(), true);
Assert(c);
if(c->GetTCPSock() == -1){
CI->RemoveClient(c);