From 8017c03e976dd1f1c4aa833c199a9daa7209ec8f Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Thu, 29 Sep 2022 17:58:49 +0200 Subject: [PATCH] limit seeing carp's followers only on WPD --- files/routes/users.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/users.py b/files/routes/users.py index 60a7f53e8..7f57aa145 100644 --- a/files/routes/users.py +++ b/files/routes/users.py @@ -956,7 +956,7 @@ def redditor_moment_redirect(username, v): @auth_required def followers(username, v): u = get_user(username, v=v) - if u.id == CARP_ID: abort(403) + if u.id == CARP_ID and SITE == 'watchpeopledie.co': abort(403) if not (v.id == u.id or v.admin_level >= PERMS['USER_FOLLOWS_VISIBLE']): abort(403)