master
Aevann1 2021-11-19 20:58:10 +02:00
parent 073cbe41c8
commit 2e2b672855
1 changed files with 2 additions and 1 deletions

View File

@ -698,7 +698,8 @@ def award_comment(cid, v):
@admin_level_required(2)
def admin_userawards_get(v):
return render_template("admin/awards.html", awards=list(AWARDS3.values()), v=v)
if request.host == 'rdrama.net' and v.admin_level != 3: return render_template("admin/awards.html", awards=list(AWARDS3.values()), v=v)
return render_template("admin/awards.html", awards=list(AWARDS.values()), v=v)
@app.post("/admin/awards")
@limiter.limit("1/second")