瀏覽代碼

Hashes are always lc()

Zachary Kotlarek 10 年之前
父節點
當前提交
5dac4b7b31
共有 1 個文件被更改,包括 1 次插入 和 1 次删除
  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