mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2025-07-03 00:05:34 +00:00
THeartbeatThread: fix isAuth being in the wrong scope
This commit is contained in:
parent
4659a9362d
commit
afb18ccff7
@ -65,19 +65,19 @@ void THeartbeatThread::operator()() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if (!isAuth) {
|
if (!isAuth) {
|
||||||
if (T == "2000") {
|
if (T == "2000") {
|
||||||
info(("Authenticated!"));
|
info(("Authenticated!"));
|
||||||
isAuth = true;
|
isAuth = true;
|
||||||
} else if (T == "200") {
|
} else if (T == "200") {
|
||||||
info(("Resumed authenticated session!"));
|
info(("Resumed authenticated session!"));
|
||||||
isAuth = true;
|
isAuth = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
//SocketIO::Get().SetAuthenticated(isAuth);
|
//SocketIO::Get().SetAuthenticated(isAuth);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string THeartbeatThread::GenerateCall() {
|
std::string THeartbeatThread::GenerateCall() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user