Revert unblockable users being unable to block.

Related commits:
26b2f55e68
356d1ca8a0
master
Snakes 2022-08-30 21:31:48 -04:00
parent 8e44e9815c
commit 09d95e3e63
Signed by: Snakes
GPG Key ID: E745A82778055C7E
1 changed files with 0 additions and 4 deletions

View File

@ -614,10 +614,6 @@ def settings_profilecss(v):
@limiter.limit("1/second;20/day", key_func=lambda:f'{SITE}-{session.get("lo_user")}')
@auth_required
def settings_block_user(v):
if v.unblockable:
return {"error": "Users with 'unblockable' award can't block others."}, 403
user = get_user(request.values.get("username"), graceful=True)
if not user: return {"error": "That user doesn't exist."}, 404