fix: clear tracker error if tracker is removed (#7141)
This commit is contained in:
parent
3ec271fe5a
commit
5cc0934ddb
|
@ -2086,7 +2086,7 @@ void tr_torrent::on_announce_list_changed()
|
|||
if (auto const& error_url = error_.announce_url(); !std::empty(error_url))
|
||||
{
|
||||
auto const& ann = metainfo().announce_list();
|
||||
if (std::any_of(
|
||||
if (std::none_of(
|
||||
std::begin(ann),
|
||||
std::end(ann),
|
||||
[error_url](auto const& tracker) { return tracker.announce == error_url; }))
|
||||
|
|
Loading…
Reference in New Issue