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} } } },