From b712dcd10f42be0159c69439376aca79aee5f1c9 Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Mon, 20 Nov 2023 21:24:37 +0700 Subject: [PATCH] Update functions_torrent.php --- library/includes/functions_torrent.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/includes/functions_torrent.php b/library/includes/functions_torrent.php index 548f3eb2..890841f8 100644 --- a/library/includes/functions_torrent.php +++ b/library/includes/functions_torrent.php @@ -484,7 +484,7 @@ function send_torrent_with_passkey ($filename) } // Get tracker announcer - $announce = $bb_cfg['ocelot']['enabled'] ? strval($bb_cfg['ocelot']['url'] . $passkey_val . "/announce") : strval($ann_url . "?$passkey_key=$passkey_val"); + $announce = $bb_cfg['ocelot']['enabled'] ? strval($bb_cfg['ocelot']['url'] .$passkey_val. "/announce") : strval($ann_url . "?$passkey_key=$passkey_val"); // Replace original announce url with tracker default if ($bb_cfg['bt_replace_ann_url'] || !isset($tor['announce']))