diff --git a/scripts/commands/playlist/validate.ts b/scripts/commands/playlist/validate.ts index 5a9426149..cf017e480 100644 --- a/scripts/commands/playlist/validate.ts +++ b/scripts/commands/playlist/validate.ts @@ -83,7 +83,7 @@ async function main() { }) } - const chNSFW = stream.channel && !channels.first((channel: Channel) => channel.categories === "XXX") + const chNSFW = stream.channel && !channels.first((channel: Channel) => (channel.id === stream.channel) && (channel.categories === "XXX")) if(chNSFW) { log.add({ type: 'error',