master
Aevann1 2021-12-31 14:56:47 +02:00
parent 8ccafeaeed
commit 978c5ede58
1 changed files with 2 additions and 2 deletions

View File

@ -182,8 +182,8 @@ def remove_meme_admin(v, username):
@app.post("/admin/monthly")
@limiter.limit("1/day")
@admin_level_required(2)
@limiter.limit("2/day")
@admin_level_required(3)
@validate_formkey
def monthly(v):
if 'pcm' in request.host or (SITE_NAME == 'Drama' and v.admin_level > 2) or ('rama' not in request.host and 'pcm' not in request.host):