fds
This commit is contained in:
parent
25736c5eb1
commit
aeff6bc232
4 changed files with 11 additions and 1 deletions
|
@ -168,6 +168,13 @@ def front_all(v):
|
|||
posts = get_posts(ids, v=v)
|
||||
|
||||
if v:
|
||||
if v.patron_utc and v.patron_utc < time.time():
|
||||
v.patron = 0
|
||||
v.patron_utc = 0
|
||||
send_repeatable_notification(v.id, "Your paypig status has expired!")
|
||||
g.db.add(v)
|
||||
g.db.commit()
|
||||
|
||||
if v.unban_utc and v.unban_utc < time.time():
|
||||
v.is_banned = 0
|
||||
v.unban_utc = 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue