Update join.blade.php

This commit is contained in:
Thomas G 2022-07-12 20:27:58 +10:00
parent 617327c05a
commit b2c03e4149
1 changed files with 2 additions and 3 deletions

View File

@ -14,9 +14,8 @@ if (Auth::check()) {
$id = addslashes(Auth::id());
} else {
$randName = mt_rand(1, 9999);
$randId = mt_rand(-1, -9999);
$username = "Guest " . $randName;
$id = $randId;
$id = 0;
}
$ip = addslashes($_GET["ip"]);
$port = addslashes($_GET["port"]);
@ -120,7 +119,7 @@ function setMessage(message)
end
-- Check if client is not logged in, disabled right now
-- if "<?php echo $username; ?>" == "Guest " .. tostring(<?php echo $randName; ?>) then
-- if <?php echo $id; ?> == 0 then
-- setMessage("You are not logged in. (ID: 400)", "Kick", "Kick")
-- error("Not logged in")
-- end