remove weird unneeded line

master
Aevann 2024-02-06 23:45:56 +02:00
parent 79b5ad1ee2
commit a3f59712e8
1 changed files with 0 additions and 3 deletions

View File

@ -775,9 +775,6 @@ def mark_post_nsfw(pid, v):
if p.author_id != v.id and v.admin_level < PERMS['POST_COMMENT_MODERATION'] and not (p.hole and v.mods_hole(p.hole)):
abort(403)
if p.nsfw and v.is_permabanned:
abort(403)
p.nsfw = True
g.db.add(p)