diff --git a/resources/views/client/join.blade.php b/resources/views/client/join.blade.php index 6843ec2..66f302e 100644 --- a/resources/views/client/join.blade.php +++ b/resources/views/client/join.blade.php @@ -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 "" == "Guest " .. tostring() then +-- if == 0 then -- setMessage("You are not logged in. (ID: 400)", "Kick", "Kick") -- error("Not logged in") -- end