forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2021-08-12 00:27:07 +02:00
parent 7001f11be7
commit fdffecd8c7
1 changed files with 1 additions and 1 deletions

View File

@ -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)