fd
This commit is contained in:
parent
b38d341ba9
commit
b7aebfd05f
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue