fixed bug where event=completed would not be sent if it violated the min-interval

This commit is contained in:
Arvid Norberg
2010-09-01 03:14:12 +00:00
parent 29e45c8cbb
commit a17f4e4e71
4 changed files with 16 additions and 8 deletions

View File

@@ -1452,7 +1452,7 @@ namespace libtorrent
if (ae.tier > tier && !settings().announce_to_all_tiers) break;
if (ae.is_working()) { tier = ae.tier; sent_announce = false; }
if (!ae.can_announce(now))
if (!ae.can_announce(now, is_seed()))
{
if (ae.is_working())
{