From afd491799eb7228db1f979dfcc91984ccc7d9bdd Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sat, 24 Jul 2021 22:51:46 +0200 Subject: [PATCH] fd --- drama/routes/users.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drama/routes/users.py b/drama/routes/users.py index 7e1db3a39..754bcab6a 100644 --- a/drama/routes/users.py +++ b/drama/routes/users.py @@ -23,7 +23,7 @@ beams_client = PushNotifications( @auth_required def suicide(v, username): t = int(time.time()) - if t - v.suicide_utc < 86400: abort(403) + if t - v.suicide_utc < 86400: return "You can't do that again today!", 403 user = get_user(username) suicide = f"""Hi there,