mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2025-07-04 00:36:14 +00:00
format backend refused message nicer
This commit is contained in:
parent
01268821dc
commit
944b68c6d5
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user