Explorar el Código

Hashes are always lc()

Zachary Kotlarek hace 10 años
padre
commit
5dac4b7b31
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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