From dc4089368fe81cdb0fc6c3faf1ba8fdee674bf8d Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Sat, 30 Dec 2023 02:45:52 +0700 Subject: [PATCH] Revert "Update announce.php" This reverts commit cf339321d3aad2faf57b4a1f5baab8adfd422100. --- bt/announce.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/bt/announce.php b/bt/announce.php index 7827e37a..f9385012 100644 --- a/bt/announce.php +++ b/bt/announce.php @@ -102,10 +102,6 @@ if (!verify_id($passkey, BT_AUTH_KEY_LENGTH)) { msg_die('Invalid passkey: ' . $passkey); } -if (max($uploaded, $downloaded, $left) >= (2**64 - 1)) // BIGINT -{ - msg_die('Integer overflow'); -} // Check for client ban if ($bb_cfg['client_ban']['enabled'])