Skip to content

Commit

Permalink
should do the trick.
Browse files Browse the repository at this point in the history
  • Loading branch information
BellezaEmporium committed Feb 1, 2024
1 parent dec958e commit bd16471
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/commands/playlist/validate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit bd16471

Please sign in to comment.