diff --git a/bt/announce.php b/bt/announce.php index 47c151119..79dec7adb 100644 --- a/bt/announce.php +++ b/bt/announce.php @@ -139,9 +139,6 @@ $peer_hash = hash('xxh128', $passkey . $info_hash_hex . $port); // Events $stopped = ($event === 'stopped'); -// Get the real port to help port-restricted NAT users -$port = $_SERVER['REMOTE_PORT']; - // Set seeder & complete $complete = $seeder = ($left == 0) ? 1 : 0;