fix oversight in ba883a5340

master
Aevann1 2022-06-13 18:50:30 +02:00
parent 248e743ddb
commit dd09eff539
1 changed files with 1 additions and 1 deletions

View File

@ -1161,7 +1161,7 @@ def unban_user(user_id, v):
) )
g.db.add(ma) g.db.add(ma)
notify_mod_action(v.id, f"@{v.username} has unbanned @{user.username} ({note})") notify_mod_action(v.id, f"@{v.username} has unbanned @{user.username}")
g.db.commit() g.db.commit()
if "@" in request.referrer: return redirect(user.url) if "@" in request.referrer: return redirect(user.url)