lua error fix

This commit is contained in:
Anonymous275
2020-11-11 00:40:22 +02:00
parent 60c7997c6b
commit 94f6a81673
3 changed files with 13 additions and 3 deletions

View File

@@ -179,9 +179,9 @@ void Identification(SOCKET TCPSock,Hold*S,RSA*Skey){
for(auto& c : CI->Clients){
if(c != nullptr){
if(c->GetDID() == DID){
error("died on " + std::string(__func__) + ":" + std::to_string(__LINE__));
closesocket(c->GetTCPSock());
c->SetStatus(-2);
// error("died on " + std::string(__func__) + ":" + std::to_string(__LINE__));
//closesocket(c->GetTCPSock());
//c->SetStatus(-2); ////TODO: UNCOMMENT!!
break;
}
}