mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2026-10-20 23:47:08 +00:00
resource request fix
This commit is contained in:
1 parent
e3529ca48f
commit
eef9c408ef
1 file changed
+2
-2
@@ -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 "";
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user