From bd0f56fd2272834f6c1fbddc2825a835aaf2700e Mon Sep 17 00:00:00 2001 From: justcool393 Date: Sun, 23 Oct 2022 12:02:55 -0500 Subject: [PATCH] lawlzposts: restrict to rDrama --- files/routes/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/admin.py b/files/routes/admin.py index 8f8bd06cd..b85135058 100644 --- a/files/routes/admin.py +++ b/files/routes/admin.py @@ -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