some filtering

This commit is contained in:
Alexey Kasyanchuk
2018-04-21 19:11:43 +03:00
parent 0768e8d3e0
commit f90038e73b
3 changed files with 27 additions and 8 deletions

View File

@ -387,6 +387,12 @@ const checkTorrent = (torrent) => {
}
}
if(torrent.contentType === 'bad')
{
console.log('ignore torrent', torrent.name, 'because this is a bad thing')
return false
}
return true
}