diff --git a/files/routes/awards.py b/files/routes/awards.py index 13f9cdd51..2013cf00a 100644 --- a/files/routes/awards.py +++ b/files/routes/awards.py @@ -752,7 +752,7 @@ def award_comment(cid, v): @admin_level_required(2) def admin_userawards_get(v): - if request.host == 'rdrama.net' and v.admin_level != 3: return render_template("admin/awards.html", awards=list(AWARDS3.values()), v=v) + if 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") @@ -799,5 +799,5 @@ def admin_userawards_post(v): g.db.commit() - if request.host == 'rdrama.net' and v.admin_level != 3: return render_template("admin/awards.html", awards=list(AWARDS3.values()), v=v) + if 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) \ No newline at end of file