diff --git a/files/helpers/config/const.py b/files/helpers/config/const.py index d83cd9c65..7db7f43c3 100644 --- a/files/helpers/config/const.py +++ b/files/helpers/config/const.py @@ -725,11 +725,6 @@ elif SITE in {'watchpeopledie.tv', 'marsey.world'}: FEATURES['IP_LOGGING'] = True HOUSES = ["Furry","Femboy","Vampire","Edgy"] - PERMS['POST_COMMENT_EDITING'] = 3 - PERMS['MODS_EVERY_HOLE'] = 3 - PERMS['VIEW_EMAILS'] = 3 - PERMS['IS_PERMA_PROGSTACKED'] = 4 - HOLE_BANNER_LIMIT = 69420 ERROR_TITLES.update({ diff --git a/files/routes/static.py b/files/routes/static.py index eea701184..db5262d9f 100644 --- a/files/routes/static.py +++ b/files/routes/static.py @@ -192,6 +192,8 @@ def daily_chart(v): @limiter.limit(DEFAULT_RATELIMIT, deduct_when=lambda response: response.status_code < 400, key_func=get_ID) @admin_level_required(PERMS['VIEW_PATRONS']) def patrons(v): + if AEVANN_ID and v.id != AEVANN_ID: + abort(404) ids = [x[0] for x in g.db.query(User.id).filter(User.lifetimedonated > 0).order_by(User.email, User.truescore.desc()).distinct(User.email)] users = g.db.query(User).filter(User.id.in_(ids)).order_by(User.patron.desc(), User.truescore.desc()).all()