From 3e7b37ec35561b85db6157bfd4824c5901d137e4 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Tue, 18 Oct 2022 12:26:44 +0200 Subject: [PATCH] dont redirect to a repost for chadmins --- files/routes/posts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/posts.py b/files/routes/posts.py index d0bb09672..1198debb3 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -785,7 +785,7 @@ def submit_post(v, sub=None): Submission.deleted_utc == 0, Submission.is_banned == False ).first() - if repost and FEATURES['REPOST_DETECTION']: + if repost and FEATURES['REPOST_DETECTION'] and not v.admin_level: return redirect(repost.permalink) domain_obj = get_domain(domain)