mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 14:23:57 -07:00
Don't use main announce url inside announce-list (#1117)
This commit is contained in:
parent
0d6a188ae7
commit
f426c928ac
1 changed files with 1 additions and 1 deletions
|
@ -569,7 +569,7 @@ class Torrent
|
||||||
if ($bb_cfg['bt_del_addit_ann_urls'] || $bb_cfg['bt_disable_dht']) {
|
if ($bb_cfg['bt_del_addit_ann_urls'] || $bb_cfg['bt_disable_dht']) {
|
||||||
unset($tor['announce-list']);
|
unset($tor['announce-list']);
|
||||||
} else {
|
} else {
|
||||||
$tor['announce-list'] = array_merge($tor['announce-list'] ?? [], [[$announce]], $announce_urls_add);
|
$tor['announce-list'] = array_merge($tor['announce-list'] ?? [], $announce_urls_add);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add retracker
|
// Add retracker
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue