mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2025-07-02 07:56:26 +00:00
resource request fix
This commit is contained in:
parent
e3529ca48f
commit
eef9c408ef
@ -163,12 +163,12 @@ std::string HandShake(SOCKET Sock,Hold*S,RSA*LKey){
|
||||
info(Sec("Terminated!"));
|
||||
return "";
|
||||
}
|
||||
STCPSendRaw(Sock,PrependSize(Sec("SR")));
|
||||
STCPSend(Sock,Sec("SR"));
|
||||
Res = STCPRecv(Sock);
|
||||
if(strlen(Res.first) == 0 || std::string(Res.first) == "-"){
|
||||
info(Sec("Didn't Receive any mods..."));
|
||||
ListOfMods = "-";
|
||||
STCPSendRaw(Sock,PrependSize(Sec("Done")));
|
||||
STCPSend(Sock,Sec("Done"));
|
||||
info(Sec("Done!"));
|
||||
return "";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user