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