diff --git a/scripts/commands/playlist/validate.ts b/scripts/commands/playlist/validate.ts index 2ae199b67..56eb2b72f 100644 --- a/scripts/commands/playlist/validate.ts +++ b/scripts/commands/playlist/validate.ts @@ -83,8 +83,7 @@ async function main() { }) } - const chNSFW = stream.channel && !channels.first((channel: Channel) => (channel.id === stream.channel) && (channel.isNSFW === true)) - if(chNSFW) { + if(stream.isNSFW === true) { log.add({ type: 'error', line: stream.line,