forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2021-12-15 21:34:24 +02:00
parent 06103e07b6
commit 11fa6ed9a8
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ def auth_desired(f):
v = get_logged_in_user()
if request.host == 'old.rdrama.net' and not (v and v.admin_level) and '/log' not in request.path:
return redirect(request.full_path.replace('old.',''))
return request.full_path.replace('old.','')
check_ban_evade(v)
resp = make_response(f(*args, v=v, **kwargs))