dffd
This commit is contained in:
parent
ff3a2d0640
commit
46177da4ef
2 changed files with 3 additions and 3 deletions
|
@ -14,7 +14,7 @@ def banaward_trigger(post=None, comment=None):
|
|||
|
||||
if author.admin_level < 1:
|
||||
if not author.is_suspended:
|
||||
author.ban(reason="1-day ban award used", days=1)
|
||||
author.ban(reason="one-day ban award used", days=1)
|
||||
|
||||
send_notification(NOTIFICATIONS_ACCOUNT, author, f"Your account has been suspended for a day for {link}. It sucked and you should feel bad.")
|
||||
elif author.unban_utc > 0:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue