mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2025-07-04 20:25:25 +02:00
Commit to database on only on request teardown
This commit is contained in:
@ -142,7 +142,6 @@ def update_user_status(guild_id, username, user_key=None):
|
||||
if dbUser.username != username or dbUser.ip_address != ip_address:
|
||||
dbUser.username = username
|
||||
dbUser.ip_address = ip_address
|
||||
db.session.commit()
|
||||
else:
|
||||
status = {
|
||||
'authenticated': True,
|
||||
|
Reference in New Issue
Block a user