forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2022-05-26 23:08:31 +02:00
parent accca4ed08
commit 02e9d2f2b5
1 changed files with 1 additions and 1 deletions

View File

@ -972,7 +972,7 @@ def agendaposter(user_id, v):
days = min(float(request.values.get("days", 30.0)), 30.0)
expiry = int(time.time() + expiry*60*60*24)
expiry = int(time.time() + days*60*60*24)
user.agendaposter = expiry
g.db.add(user)