Revert "this is stupid": no fighting in the commit log.

This reverts commit 1f1ace3d66.
master
Snakes 2022-10-25 11:32:32 -04:00
parent 1f1ace3d66
commit eafa7b8e05
Signed by: Snakes
GPG Key ID: E745A82778055C7E
1 changed files with 2 additions and 1 deletions

View File

@ -1121,6 +1121,7 @@ def remove_post(post_id, v):
post = get_post(post_id) post = get_post(post_id)
post.is_banned = True post.is_banned = True
post.is_approved = None post.is_approved = None
if post.stickied and not post.stickied.endswith('(pin award)'):
post.stickied = None post.stickied = None
post.is_pinned = False post.is_pinned = False
post.ban_reason = v.username post.ban_reason = v.username