forked from MarseyWorld/MarseyWorld
dont redirect to a repost for chadmins
parent
eff2d35a00
commit
3e7b37ec35
|
@ -785,7 +785,7 @@ def submit_post(v, sub=None):
|
||||||
Submission.deleted_utc == 0,
|
Submission.deleted_utc == 0,
|
||||||
Submission.is_banned == False
|
Submission.is_banned == False
|
||||||
).first()
|
).first()
|
||||||
if repost and FEATURES['REPOST_DETECTION']:
|
if repost and FEATURES['REPOST_DETECTION'] and not v.admin_level:
|
||||||
return redirect(repost.permalink)
|
return redirect(repost.permalink)
|
||||||
|
|
||||||
domain_obj = get_domain(domain)
|
domain_obj = get_domain(domain)
|
||||||
|
|
Loading…
Reference in New Issue