small bug fix

This commit is contained in:
Anonymous275
2020-10-31 14:54:27 +02:00
parent 7da9f4fcd2
commit c514e7c1eb
3 changed files with 13 additions and 6 deletions

View File

@@ -75,6 +75,11 @@ void RequestRole(){
Dev = true;
}
}
if(HTTP_Result.find(Sec("Error")) != NPos){
error(Sec("Sorry You need to be in the official BeamMP Discord to proceed! https://discord.gg/beammp"));
std::this_thread::sleep_for(std::chrono::seconds(3));
exit(-1);
}
info(Sec("Client Connected!"));
}