mirror of
https://github.com/iptv-org/iptv.git
synced 2025-05-12 10:00:05 -04:00
should do the trick.
This commit is contained in:
parent
dec958eb84
commit
bd1647174b
1 changed files with 2 additions and 1 deletions
|
@ -83,7 +83,8 @@ async function main() {
|
|||
})
|
||||
}
|
||||
|
||||
if(stream.isNSFW === true) {
|
||||
const channel_NSFW = stream.channel && channels.first((channel: Channel) => (channel.id === stream.channel) && (channel.isNSFW === true))
|
||||
if(channel_NSFW) {
|
||||
log.add({
|
||||
type: 'error',
|
||||
line: stream.line,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue