mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2025-07-04 00:47:23 +00:00
Reflect PR #49
This commit is contained in:
parent
a118fa6c71
commit
ab5b87aad8
@ -54,7 +54,7 @@ std::string Server::Auth() {
|
|||||||
|
|
||||||
auto Res = TCPRcv();
|
auto Res = TCPRcv();
|
||||||
|
|
||||||
if (Res.empty() || Res[0] == 'E') {
|
if (Res.empty() || Res[0] == 'E' || Res[0] == 'K') {
|
||||||
Abort();
|
Abort();
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
@ -81,7 +81,7 @@ std::string Server::Auth() {
|
|||||||
|
|
||||||
Res = TCPRcv();
|
Res = TCPRcv();
|
||||||
|
|
||||||
if (Res[0] == 'E') {
|
if (Res[0] == 'E' || Res[0] == 'K') {
|
||||||
Abort();
|
Abort();
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
@ -345,6 +345,6 @@ std::string Server::TCPRcv() {
|
|||||||
Ret = Zlib::DeComp(Ret.substr(4));
|
Ret = Zlib::DeComp(Ret.substr(4));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Ret[0] == 'E') UUl(Ret.substr(1));
|
if (Ret[0] == 'E' || Ret[0] == 'K') UUl(Ret.substr(1));
|
||||||
return Ret;
|
return Ret;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user