OHHHH SHITTTT

This commit is contained in:
Mario 2023-02-14 09:54:25 +02:00 committed by GitHub
parent c25cf66bb5
commit fdf5e7b23b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ if ($momentoftruth == 1) {
];
echo json_encode($response);
} else if ($okcheck == 0) {
$hahatroll = $con->prepare('UPDATE tokens SET passedplacelauncher = 0 WHERE token=:token');
$hahatroll = $con->prepare('UPDATE tokens SET passedplacelauncher = 1 WHERE token=:token');
$hahatroll->bindParam(':token', $token);
$hahatroll->execute();
function generateRandomJobId() {
@ -79,7 +79,7 @@ if ($momentoftruth == 1) {
$jobid = generateRandomJobId();
$port = rand(5000,5999);
$checkport = $con->prepare('SELECT COUNT(*) FROM tokens WHERE token=:token AND passedplacelauncher=:passed');
$chechport->bindParam(':token', $token);
$checkport->bindParam(':token', $token);
$checkport->bindParam(':passed', $okbruh);
$checkport->execute();
$okbrahh = $checkport->fetchColumn();