From 2a868b2feece022ed3de16be7fa7d82baa6a62b5 Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Thu, 5 Sep 2024 11:13:38 +0700 Subject: [PATCH] Update announce.php --- bt/announce.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bt/announce.php b/bt/announce.php index 43df5cda0..e18702c78 100644 --- a/bt/announce.php +++ b/bt/announce.php @@ -215,9 +215,8 @@ if ($lp_info) { // Check hybrid status if (!empty($row['info_hash']) && !empty($row['info_hash_v2'])) { $stat_protocol = match ((int)$bb_cfg['tracker']['hybrid_stat_protocol']) { - 1 => $row['info_hash'], 2 => substr($row['info_hash_v2'], 0, 20), - default => $row['info_hash'] + default => $row['info_hash'] // 1 }; if ($info_hash !== $stat_protocol) { $hybrid_unrecord = true; // This allows us to announce only for one info-hash