diff --git a/files/helpers/media.py b/files/helpers/media.py index 4dc5af6f0..43398dfee 100644 --- a/files/helpers/media.py +++ b/files/helpers/media.py @@ -29,7 +29,12 @@ def media_ratelimit(v): return t = time.time() - 86400 count = g.db.query(Media).filter(Media.user_id == v.id, Media.created_utc > t).count() - limit = 300 if v.patron else 100 + + if v.patron or (SITE == 'rdrama.net' and v.id == 2158): + limit = 300 + else: + limit = 100 + if count > limit and v.admin_level < PERMS['USE_ADMIGGER_THREADS']: print(STARS, flush=True) print(f'@{v.username} hit the {limit} file daily limit!')