Pārlūkot izejas kodu

Hashes are always lc()

Zachary Kotlarek 10 gadi atpakaļ
vecāks
revīzija
5dac4b7b31
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      findTorrent.pl

+ 1 - 1
findTorrent.pl

@@ -1152,7 +1152,7 @@ sub getHash($) {
 
 
 	# Save back to the tor, if provided
 	# Save back to the tor, if provided
 	if (defined($tor)) {
 	if (defined($tor)) {
-		$tor->{'hash'} = $hash;
+		$tor->{'hash'} = lc($hash);
 	}
 	}
 
 
 	# Always return the hash, or undef() if none can be found
 	# Always return the hash, or undef() if none can be found