Ignore:
Timestamp:
Aug 1, 2007, 1:33:01 PM (15 years ago)
Author:
charles
Message:

tr_trackerCanManualAnnounce() should return false immediately after the user's manually announced; not just after the announce request is processed by the tracker

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/tracker.c

    r2573 r2586  
    200200tr_trackerCanManualAnnounce( const tr_tracker_t * tc )
    201201{
    202     return tc && ((tc->dateOk + MANUAL_ANNOUNCE_INTERVAL_MSEC) < tr_date());
     202    return tc
     203        && !tc->forceAnnounce
     204        && ((tc->dateOk + MANUAL_ANNOUNCE_INTERVAL_MSEC) < tr_date());
    203205}
    204206
Note: See TracChangeset for help on using the changeset viewer.