From 6401f9e9c27b0af5e0bde03b0b38a26c3d6232f9 Mon Sep 17 00:00:00 2001 From: justcool393 Date: Wed, 5 Oct 2022 22:56:19 -0700 Subject: [PATCH] shadowban log --- files/routes/static.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/static.py b/files/routes/static.py index bc5b1d4d3..a5dd02036 100644 --- a/files/routes/static.py +++ b/files/routes/static.py @@ -140,7 +140,7 @@ def log(v): kind = request.values.get("kind") - if v and v.admin_level > 1: types = ACTIONTYPES + if v and v.admin_level >= PERMS['USER_SHADOWBAN']: types = ACTIONTYPES else: types = ACTIONTYPES2 if kind and kind not in types: