same as last commit

pull/225/head
Aevann 2024-03-11 21:35:29 +02:00
parent 79c1723292
commit 39e4a355df
1 changed files with 3 additions and 0 deletions

View File

@ -294,6 +294,9 @@ class User(Base):
succeeded = True
logs = [['coins', subtracted_coins], ['marseybux', subtracted_mbux]]
if self.admin_level >= PERMS['INFINITE_CURRENCY'] or self.id == 48:
succeeded = True
if succeeded:
g.db.add(self)
if reason: