master
Aevann1 2021-11-25 23:33:00 +02:00
parent 71cd4c3f75
commit 92eb5d3e58
1 changed files with 1 additions and 1 deletions

View File

@ -819,7 +819,7 @@ def ban_user(user_id, v):
post = get_post(post)
post.bannedfor = True
g.db.add(post)
elif reason.startswith("/comment/"):
elif reason.startswith("/comment/"):
comment = int(reason.split("/comment/")[1].split(None, 1)[0])
comment = get_comment(comment)
comment.bannedfor = True