summaryrefslogtreecommitdiff
path: root/src/TrackerWatcherCommand.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/TrackerWatcherCommand.cc')
-rw-r--r--src/TrackerWatcherCommand.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/TrackerWatcherCommand.cc b/src/TrackerWatcherCommand.cc
index aaeb5258..a005c882 100644
--- a/src/TrackerWatcherCommand.cc
+++ b/src/TrackerWatcherCommand.cc
@@ -32,7 +32,7 @@ TrackerWatcherCommand::TrackerWatcherCommand(int cuid,
TrackerWatcherCommand::~TrackerWatcherCommand() {}
bool TrackerWatcherCommand::execute() {
- if(e->torrentMan->trackers == 0 && e->torrentMan->connections < 30) {
+ if(e->torrentMan->trackers == 0 && e->torrentMan->connections < MIN_PEERS) {
e->torrentMan->req->resetTryCount();
if(e->torrentMan->downloadComplete()) {