limit seeing carp's followers only on WPD

master
Aevann1 2022-09-29 17:58:49 +02:00
parent c16654c4c7
commit 8017c03e97
1 changed files with 1 additions and 1 deletions

View File

@ -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)