sfdsfd
This commit is contained in:
parent
864c56d370
commit
111da5fca8
1 changed files with 1 additions and 1 deletions
|
@ -819,7 +819,7 @@ def ban_user(user_id, v):
|
||||||
post = get_post(post)
|
post = get_post(post)
|
||||||
post.bannedfor = True
|
post.bannedfor = True
|
||||||
g.db.add(post)
|
g.db.add(post)
|
||||||
elif reason.startswith("/comment/"):
|
elif reason.startswith("/comment/"):
|
||||||
comment = int(reason.split("/comment/")[1].split(None, 1)[0])
|
comment = int(reason.split("/comment/")[1].split(None, 1)[0])
|
||||||
comment = get_comment(comment)
|
comment = get_comment(comment)
|
||||||
comment.bannedfor = True
|
comment.bannedfor = True
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue