log my currency movements
parent
a29f049204
commit
d3ab4d39a5
|
@ -224,9 +224,6 @@ 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':
|
||||
|
@ -253,9 +250,6 @@ class User(Base):
|
|||
currency_log.balance = self.marseybux
|
||||
|
||||
def charge_account(self, currency, amount, reason=None, **kwargs):
|
||||
if self.admin_level >= PERMS['INFINITE_CURRENCY']:
|
||||
return (True, amount)
|
||||
|
||||
succeeded = False
|
||||
charged_coins = 0
|
||||
|
||||
|
|
Loading…
Reference in New Issue