mirror of
https://github.com/AsgardEternal/SquadJSDocker.git
synced 2025-01-02 13:19:20 -06:00
Update db-log-addOn.js
This commit is contained in:
parent
7648f6cc45
commit
fd189396c4
@ -111,7 +111,7 @@ export default class DBLogPlayerTime extends DBLog {
|
|||||||
let rowUpdate = await this.models.PlayerTime.update(
|
let rowUpdate = await this.models.PlayerTime.update(
|
||||||
{ leaveTime: lastServerTime },
|
{ leaveTime: lastServerTime },
|
||||||
{ where: {
|
{ where: {
|
||||||
leaveTime: {[Op.not]: null},
|
leaveTime: {[Op.is]: null},
|
||||||
server: this.options.overrideServerID || this.server.id,
|
server: this.options.overrideServerID || this.server.id,
|
||||||
player: { [Op.ne]: {[Op.in]: playerOnlineID} }
|
player: { [Op.ne]: {[Op.in]: playerOnlineID} }
|
||||||
} },
|
} },
|
||||||
|
Loading…
Reference in New Issue
Block a user