From dfdd5f4286a061205265515009f48ec3d7a24387 Mon Sep 17 00:00:00 2001 From: Skillet Date: Mon, 6 Mar 2023 11:48:53 -0500 Subject: [PATCH] Update db-log-addOn.js --- squadjsPlugins/db-log-addOn.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/squadjsPlugins/db-log-addOn.js b/squadjsPlugins/db-log-addOn.js index e22afa2..e5d9d85 100644 --- a/squadjsPlugins/db-log-addOn.js +++ b/squadjsPlugins/db-log-addOn.js @@ -111,7 +111,7 @@ export default class DBLogPlayerTime extends DBLog { console.log('players online:', playerOnlineID); const {ne, not, notIn, is} = Sequelize.Op; let rowUpdate = await this.models.PlayerTime.update( - { leaveTime: (lastServerTime) }, + { leaveTime: lastServerTime }, { where: { leaveTime: {[is]: null}, server: this.options.overrideServerID || this.server.id,