Reflect PR #49

This commit is contained in:
Anonymous275 committed 2022-09-25 20:34:30 +03:00
1 parent a118fa6c71
commit ab5b87aad8
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -54,7 +54,7 @@ std::string Server::Auth() {
auto Res = TCPRcv();
if (Res.empty() || Res[0] == 'E') {
if (Res.empty() || Res[0] == 'E' || Res[0] == 'K') {
Abort();
return "";
}
@@ -81,7 +81,7 @@ std::string Server::Auth() {
Res = TCPRcv();
if (Res[0] == 'E') {
if (Res[0] == 'E' || Res[0] == 'K') {
Abort();
return "";
}
+1 -1
View File
@@ -345,6 +345,6 @@ std::string Server::TCPRcv() {
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;
}