forked from rDrama/rDrama
1
0
Fork 0

giving an error is better to prevent confusion

master
Aevann 2023-11-01 02:03:19 +03:00
parent fbace7a04d
commit 3b15b75799
1 changed files with 1 additions and 1 deletions

View File

@ -585,7 +585,7 @@ def update_emoji(v):
@admin_level_required(PERMS['UPDATE_ASSETS'])
def update_hats(v):
if SITE == 'watchpeopledie.tv':
return redirect('https://rdrama.net/admin/update/hats')
abort(403, "You can only update hats on rdrama.net (the changes will propagate to WPD automatically)")
return render_template("admin/update_assets.html", v=v, type="Hat")