forked from MarseyWorld/MarseyWorld
limit seeing carp's followers only on WPD
parent
c16654c4c7
commit
8017c03e97
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue