mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-11 16:51:29 +00:00
[Hotfix] Make sure we don't expire default value instances
This commit is contained in:
parent
e9b45fb360
commit
ed58d16f1f
@ -564,7 +564,7 @@ void Database::PurgeExpiredInstances()
|
||||
auto l = InstanceListRepository::GetWhere(
|
||||
*this,
|
||||
fmt::format(
|
||||
"expire_at <= (UNIX_TIMESTAMP() - {}) AND never_expires = 0",
|
||||
"expire_at <= (UNIX_TIMESTAMP() - {}) and expire_at != 0 AND never_expires = 0",
|
||||
RuleI(Instances, ExpireOffsetTimeSeconds)
|
||||
)
|
||||
);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user