Skip to content

Commit

Permalink
Can note the reason when we start seeding tho
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew authored and afresh1 committed Sep 3, 2012
1 parent 3ac732e commit 762d2ec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CurrentTorrents.pl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/perl -T
#$RedRiver: CurrentTorrents.pl,v 1.31 2010/02/26 22:58:20 andrew Exp $
#$RedRiver: CurrentTorrents.pl,v 1.32 2010/03/03 18:13:07 andrew Exp $
use strict;
use warnings;
use diagnostics;
Expand Down Expand Up @@ -194,7 +194,7 @@

my $name = $keep{$hash}{name};
my $epoch = $keep{$hash}{epoch};
my $reason = $keep{$hash}{reason};
my $reason = $keep{$hash}{reason} ? $keep{$hash}{reason} . q{ } : q{};

#if ($reason && $reason ne 'only') {
# print "Keeping $reason instance of [$file] [$hash]\n",
Expand All @@ -217,7 +217,7 @@
}

if ( !$seeding{$hash} ) {
print "Starting seed of [$file] [$hash]\n";
print "Starting seed of $reason[$file] [$hash]\n";
if (!$client->add(
filename => "$dir/$file",
download_dir => $OBT->{DIR_FTP},
Expand Down

0 comments on commit 762d2ec

Please sign in to comment.