Parcourir la source

Hashes are always lc()

Zachary Kotlarek il y a 10 ans
Parent
commit
5dac4b7b31
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      findTorrent.pl

+ 1 - 1
findTorrent.pl

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