Fix torrent blacklisting when InfoHash is available

pull/4/head
Mark McDowall 10 years ago
parent 475f4244c4
commit 7c246abc88

@ -46,7 +46,7 @@ namespace NzbDrone.Core.Blacklisting
.Any(b => SameTorrent(b, torrentInfo));
}
var blacklistedByTorrentInfohash = _blacklistRepository.BlacklistedByTitle(seriesId, torrentInfo.InfoHash);
var blacklistedByTorrentInfohash = _blacklistRepository.BlacklistedByTorrentInfoHash(seriesId, torrentInfo.InfoHash);
return blacklistedByTorrentInfohash.Any(b => SameTorrent(b, torrentInfo));
}

Loading…
Cancel
Save