forked from rDrama/rDrama
make me not gain coins
parent
255eec8241
commit
660a8979a2
|
@ -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':
|
||||
|
|
Loading…
Reference in New Issue