mirror of
https://github.com/EQEmu/Server.git
synced 2026-02-22 02:12:26 +00:00
Start up of inventory snapshots
This commit is contained in:
parent
32dcb634f0
commit
af49a4bd10
@ -103,7 +103,7 @@ public:
|
||||
del_time -= RuleI(Character, InvSnapshotHistoryD) * 86400;
|
||||
}
|
||||
|
||||
DeleteWhere(db, fmt::format("`character_id` = '{}' AND `time_index` = '{}'", character_id, del_time));
|
||||
DeleteWhere(db, fmt::format("`character_id` = '{}' AND `time_index` <= '{}'", character_id, del_time));
|
||||
}
|
||||
|
||||
static void ListCharacterInvSnapshots(Database &db, uint32 character_id, std::list<std::pair<uint32, int>> &is_list)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user