mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-04-22 08:00:35 +00:00
format backend refused message nicer
This commit is contained in:
@@ -116,9 +116,9 @@ void THeartbeatThread::operator()() {
|
|||||||
isAuth = true;
|
isAuth = true;
|
||||||
} else {
|
} else {
|
||||||
if (Message.empty()) {
|
if (Message.empty()) {
|
||||||
Message = "Backend didn't provide a reason";
|
Message = "Backend didn't provide a reason.";
|
||||||
}
|
}
|
||||||
beammp_error("Backend REFUSED the auth key. " + Message);
|
beammp_error("Backend REFUSED the auth key. Reason: " + Message);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (isAuth) {
|
if (isAuth) {
|
||||||
|
|||||||
Reference in New Issue
Block a user