forked from rDrama/rDrama
1
0
Fork 0

make me not gain coins

master
Aevann 2024-02-11 01:27:59 +02:00
parent 255eec8241
commit 660a8979a2
1 changed files with 3 additions and 0 deletions

View File

@ -218,6 +218,9 @@ class User(Base):
if SITE == 'rdrama.net' and self.id == 5237:
return
if self.admin_level >= PERMS['INFINITE_CURRENCY']:
return
user_query = g.db.query(User).options(load_only(User.id)).filter_by(id=self.id)
if currency == 'coins':