fix for torrent announcing bug introduced when supporting fine grained control over sources torrents are announced to
This commit is contained in:
@@ -2377,11 +2377,11 @@ namespace aux {
|
||||
--tracker_limit;
|
||||
t->set_announce_to_dht(dht_limit >= 0);
|
||||
t->set_announce_to_trackers(tracker_limit >= 0);
|
||||
if (t->is_paused()) t->resume();
|
||||
t->set_allow_peers(true);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!t->is_paused()) t->pause();
|
||||
t->set_allow_peers(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user