aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/video-blacklist.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/lib/video-blacklist.ts')
-rw-r--r--server/lib/video-blacklist.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/video-blacklist.ts b/server/lib/video-blacklist.ts
index 9749ce2f6..1dd7139f7 100644
--- a/server/lib/video-blacklist.ts
+++ b/server/lib/video-blacklist.ts
@@ -56,7 +56,7 @@ async function autoBlacklistNeeded (parameters: {
56 // Already blacklisted 56 // Already blacklisted
57 if (video.VideoBlacklist) return false 57 if (video.VideoBlacklist) return false
58 if (!CONFIG.AUTO_BLACKLIST.VIDEOS.OF_USERS.ENABLED || !user) return false 58 if (!CONFIG.AUTO_BLACKLIST.VIDEOS.OF_USERS.ENABLED || !user) return false
59 if (isRemote || isNew) return false 59 if (isRemote || isNew === false) return false
60 60
61 if (user.hasRight(UserRight.MANAGE_VIDEO_BLACKLIST) || user.hasAdminFlag(UserAdminFlag.BY_PASS_VIDEO_AUTO_BLACKLIST)) return false 61 if (user.hasRight(UserRight.MANAGE_VIDEO_BLACKLIST) || user.hasAdminFlag(UserAdminFlag.BY_PASS_VIDEO_AUTO_BLACKLIST)) return false
62 62