From fd189396c4ef1bf24198202ebc6a3a2b76296505 Mon Sep 17 00:00:00 2001 From: Skillet Date: Mon, 6 Mar 2023 10:09:50 -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 e61108d..36c3d12 100644 --- a/squadjsPlugins/db-log-addOn.js +++ b/squadjsPlugins/db-log-addOn.js @@ -111,7 +111,7 @@ export default class DBLogPlayerTime extends DBLog { let rowUpdate = await this.models.PlayerTime.update( { leaveTime: lastServerTime }, { where: { - leaveTime: {[Op.not]: null}, + leaveTime: {[Op.is]: null}, server: this.options.overrideServerID || this.server.id, player: { [Op.ne]: {[Op.in]: playerOnlineID} } } },