forked from rDrama/rDrama
1
0
Fork 0
Aevann 2023-08-31 16:22:49 +03:00
parent 23ea663892
commit aa1c0903e6
1 changed files with 0 additions and 3 deletions

View File

@ -174,9 +174,6 @@ def comment(v):
if not body and not request.files.get('file'): abort(400, "You need to actually write something!")
if v.admin_level < PERMS['POST_COMMENT_MODERATION'] and parent_user.any_block_exists(v):
abort(403, "You can't reply to users who have blocked you or users that you have blocked!")
if request.files.get("file") and not g.is_tor:
files = request.files.getlist('file')[:20]