don't allow force_tracker_request when paused

This commit is contained in:
Arvid Norberg 2008-07-12 18:45:58 +00:00
parent 1ed583011c
commit 7541d9d246
1 changed files with 2 additions and 2 deletions

View File

@ -963,12 +963,12 @@ namespace libtorrent
inline void torrent::force_tracker_request() inline void torrent::force_tracker_request()
{ {
announce_with_tracker(); if (!is_paused()) announce_with_tracker();
} }
inline void torrent::force_tracker_request(ptime t) inline void torrent::force_tracker_request(ptime t)
{ {
restart_tracker_timer(t); if (!is_paused()) restart_tracker_timer(t);
} }
inline void torrent::set_tracker_login( inline void torrent::set_tracker_login(