forked from rDrama/rDrama
dfs
parent
8ccafeaeed
commit
978c5ede58
|
@ -182,8 +182,8 @@ def remove_meme_admin(v, username):
|
||||||
|
|
||||||
|
|
||||||
@app.post("/admin/monthly")
|
@app.post("/admin/monthly")
|
||||||
@limiter.limit("1/day")
|
@limiter.limit("2/day")
|
||||||
@admin_level_required(2)
|
@admin_level_required(3)
|
||||||
@validate_formkey
|
@validate_formkey
|
||||||
def monthly(v):
|
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):
|
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):
|
||||||
|
|
Loading…
Reference in New Issue