(trunk libT) don't scrape paused torrents

This commit is contained in:
Charles Kerr 2010-02-02 02:59:40 +00:00
parent 879d5555b2
commit e62be48baa
1 changed files with 2 additions and 1 deletions

View File

@ -1602,7 +1602,8 @@ tierNeedsToAnnounce( const tr_tier * tier, const time_t now )
static tr_bool
tierNeedsToScrape( const tr_tier * tier, const time_t now )
{
return !tier->isScraping
return tier->isRunning
&& !tier->isScraping
&& ( tier->scrapeAt != 0 )
&& ( tier->scrapeAt <= now )
&& ( tier->currentTracker != NULL )