mirror of
https://github.com/iptv-org/iptv.git
synced 2024-06-29 00:55:47 +02:00
correct
This commit is contained in:
parent
64f5901991
commit
848dd5d571
|
@ -83,7 +83,7 @@ async function main() {
|
|||
})
|
||||
}
|
||||
|
||||
const chNSFW = stream.channel && !channels.first((channel: Channel) => (channel.id === stream.channel) && (stream.categories === "XXX"))
|
||||
const chNSFW = stream.channel && !channels.first((channel: Channel) => (channel.id === stream.channel) && (channel.isNSFW === true))
|
||||
if(chNSFW) {
|
||||
log.add({
|
||||
type: 'error',
|
||||
|
|
Loading…
Reference in New Issue
Block a user