forked from MarseyWorld/MarseyWorld
fishsticks (prev commit redux)
parent
4b37bd721b
commit
df7690fb54
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue