Fix kick message for server 3.0+

This commit is contained in:
snepsnepsnep
2022-09-25 19:26:46 +02:00
parent 3314362faf
commit 764e3ab5c1
2 changed files with 3 additions and 3 deletions

View File

@@ -109,7 +109,7 @@ std::string TCPRcv(SOCKET Sock){
#ifdef DEBUG
//debug("Parsing from server -> " + std::to_string(Ret.size()));
#endif
if(Ret[0] == 'E')UUl(Ret.substr(1));
if(Ret[0] == 'E' || Ret[0] == 'K')UUl(Ret.substr(1));
return Ret;
}