not quite sure...

pull/15733/head
Ismaël Moret 1 year ago
parent 848dd5d571
commit dec958eb84

@ -83,8 +83,7 @@ async function main() {
}) })
} }
const chNSFW = stream.channel && !channels.first((channel: Channel) => (channel.id === stream.channel) && (channel.isNSFW === true)) if(stream.isNSFW === true) {
if(chNSFW) {
log.add({ log.add({
type: 'error', type: 'error',
line: stream.line, line: stream.line,

Loading…
Cancel
Save