not quite sure...

This commit is contained in:
Ismaël Moret committed 2024-02-01 18:35:29 +00:00
1 parent 01075c815c
commit a271b91e14
1 file changed
+1 -2
+1 -2
View File
@@ -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,