mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 14:23:57 -07:00
Don't check for announce-list while adding new urls (#1116)
@belomaxorka is the only one nigga I need in my life :D
This commit is contained in:
parent
ca26f31b10
commit
0d6a188ae7
1 changed files with 2 additions and 2 deletions
|
@ -568,8 +568,8 @@ class Torrent
|
|||
// Delete all additional urls
|
||||
if ($bb_cfg['bt_del_addit_ann_urls'] || $bb_cfg['bt_disable_dht']) {
|
||||
unset($tor['announce-list']);
|
||||
} elseif (isset($tor['announce-list'])) {
|
||||
$tor['announce-list'] = array_merge($tor['announce-list'], [[$announce]], $announce_urls_add);
|
||||
} else {
|
||||
$tor['announce-list'] = array_merge($tor['announce-list'] ?? [], [[$announce]], $announce_urls_add);
|
||||
}
|
||||
|
||||
// Add retracker
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue