forked from rDrama/rDrama
sfdsfd
parent
71cd4c3f75
commit
92eb5d3e58
|
@ -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…
Reference in New Issue