forked from MarseyWorld/MarseyWorld
lawlzposts: restrict to rDrama
parent
ec1affcf85
commit
bd0f56fd22
|
@ -1251,7 +1251,7 @@ def unsticky_post(post_id, v):
|
|||
post = get_post(post_id)
|
||||
if post.stickied:
|
||||
if post.stickied.endswith('(pin award)'): abort(403, "Can't unpin award pins!")
|
||||
if post.author_id == LAWLZ_ID: abort(403, "Can't unpin lawlzposts!")
|
||||
if post.author_id == LAWLZ_ID and SITE_NAME == 'rDrama': abort(403, "Can't unpin lawlzposts!")
|
||||
|
||||
post.stickied = None
|
||||
post.stickied_utc = None
|
||||
|
|
Loading…
Reference in New Issue