From fcc86e95f6037b3617b68194d1b7103c87152277 Mon Sep 17 00:00:00 2001 From: Skillet Date: Sun, 5 Mar 2023 17:10:38 -0500 Subject: [PATCH] Update db-log-addOn.js --- squadjsPlugins/db-log-addOn.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/squadjsPlugins/db-log-addOn.js b/squadjsPlugins/db-log-addOn.js index 55cef3e..d43f32e 100644 --- a/squadjsPlugins/db-log-addOn.js +++ b/squadjsPlugins/db-log-addOn.js @@ -107,15 +107,15 @@ export default class DBLogPlayerTime extends DBLog { } console.log('players online:', playerOnlineID); const {ne} = Sequelize.Op; - let rowUpdate = await this.models.PlayerTime.update( - { leaveTime: lastServerTime }, - { where: { - leaveTime: null, - server: this.options.overrideServerID || this.server.id, - player: { [ne]: playerOnlineID } - } }, - { logging: console.log } - ); +// let rowUpdate = await this.models.PlayerTime.update( +// { leaveTime: lastServerTime }, +// { where: { +// leaveTime: null, +// server: this.options.overrideServerID || this.server.id, +// player: { [ne]: playerOnlineID } +// } }, +// { logging: console.log } +// ); console.log('updated playerTimes row count: %i', rowUpdate[0]); console.log('finish DB repair'); }