From e62be48baa5c667116bde5f495008725a61ce239 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Tue, 2 Feb 2010 02:59:40 +0000 Subject: [PATCH] (trunk libT) don't scrape paused torrents --- libtransmission/announcer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libtransmission/announcer.c b/libtransmission/announcer.c index aff03870d..9cd78ce39 100644 --- a/libtransmission/announcer.c +++ b/libtransmission/announcer.c @@ -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 )