diff --git a/drama/routes/users.py b/drama/routes/users.py index 9f0816d81..f4aa358d6 100644 --- a/drama/routes/users.py +++ b/drama/routes/users.py @@ -22,7 +22,7 @@ beams_client = PushNotifications( @app.post("/@/suicide") @auth_required def suicide(v, username): - t = int(time()) + t = int(time) if t - v.suicide_utc < 86400: abort(403) user = get_user(username) suicide = f"""Hi there,