diff --git a/files/classes/user.py b/files/classes/user.py index 59a157d72..01c4c56e9 100644 --- a/files/classes/user.py +++ b/files/classes/user.py @@ -319,7 +319,7 @@ class User(Base): @lazy def mod_date(self, sub): - if self.admin_level >= PERMS['GLOBAL_HOLE_MODERATION']: return 1 + if self.admin_level >= PERMS['HOLE_GLOBAL_MODERATION']: return 1 mod = g.db.query(Mod).filter_by(user_id=self.id, sub=sub).one_or_none() if not mod: return None return mod.created_utc diff --git a/files/helpers/const.py b/files/helpers/const.py index a7d2d8f00..2fe736942 100644 --- a/files/helpers/const.py +++ b/files/helpers/const.py @@ -121,7 +121,15 @@ AGENDAPOSTER_MSG_HTML = """