master
Aevann1 2021-11-03 00:08:43 +02:00
parent 86e939a112
commit 06c44fd4b8
1 changed files with 1 additions and 1 deletions

View File

@ -387,7 +387,7 @@ def following(username, v):
@app.get("/views")
@auth_required
def visitors(v):
if v.admin_level < 1 and not v.patron: return render_template("errors/patron.html", v=v)
if request.host == 'rdrama.net' and v.admin_level < 1 and not v.patron: return render_template("errors/patron.html", v=v)
viewers=sorted(v.viewers, key = lambda x: x.last_view_utc, reverse=True)
return render_template("viewers.html", v=v, viewers=viewers)