forked from rDrama/rDrama
1
0
Fork 0

fishsticks (prev commit redux)

master
justcool393 2022-10-24 12:42:02 -05:00
parent 4b37bd721b
commit df7690fb54
1 changed files with 3 additions and 0 deletions

View File

@ -1121,6 +1121,9 @@ def remove_post(post_id, v):
post = get_post(post_id)
post.is_banned = True
post.is_approved = None
if SITE_NAME != 'rDrama' or v.id != CARP_ID: # fish status = owned
post.stickied = None
post.is_pinned = False
post.ban_reason = v.username
g.db.add(post)