Browse files

Fix regex for magnet torrents

  • Loading branch information...
1 parent 7b46b6e commit c3cb46c8b0607fc3044dcd5024705a6e2d785373 @hinrik committed Apr 4, 2012
Showing with 2 additions and 1 deletion.
  1. +1 −0 Changes
  2. +1 −1 bin/irctor-queue
View
1 Changes
@@ -1,4 +1,5 @@
{{$NEXT}}
+ - Fix regex for magnet torrents
0.16 Fri Mar 23 20:30:35 GMT 2012
- Don't fail on RAR files with C<'> in their name
View
2 bin/irctor-queue
@@ -16,7 +16,7 @@ die "Action argument is missing" if !defined $ACTION;
die 'Name argument missing' if !defined $NAME;
my $sub = "_${ACTION}_torrent";
-__PACKAGE__->$sub(@args) if $NAME !~ /^[0-9A-F]\.meta$/;
+__PACKAGE__->$sub(@args) if $NAME !~ /^[0-9A-F]+\.meta$/;
sub _inserted_new_torrent {
shift @_;

0 comments on commit c3cb46c

Please sign in to comment.