mirror of
https://github.com/iptv-org/iptv
synced 2026-10-29 06:14:25 -04:00
Verify channel ID.
This commit is contained in:
1 parent
fe79857fbe
commit
798d2e0a01
1 file changed
+1
-1
@@ -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) {
|
if(chNSFW) {
|
||||||
log.add({
|
log.add({
|
||||||
type: 'error',
|
type: 'error',
|
||||||
|
|||||||
Reference in new issue
Block a user