From ff575c9eea063392abe2906ce5894fbeb13d6e1d Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 9 Sep 2022 08:37:25 +0200 Subject: [PATCH] JL3 no longer mod holes --- files/classes/user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/classes/user.py b/files/classes/user.py index 02d7c4c72..a84cdb8ef 100644 --- a/files/classes/user.py +++ b/files/classes/user.py @@ -235,7 +235,7 @@ class User(Base): @lazy def mods(self, sub): - return self.admin_level == 3 or bool(g.db.query(Mod.user_id).filter_by(user_id=self.id, sub=sub).one_or_none()) + return bool(g.db.query(Mod.user_id).filter_by(user_id=self.id, sub=sub).one_or_none()) @lazy def exiled_from(self, sub):