mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-21 23:08:21 +00:00
Clear stale pending expedition lockouts
Delete pending lockouts of members on expedition creation Delete pending lockouts when all members removed from expedition This fixes an edge case where members could incorrectly be assigned pending lockouts that were never cleared from the database (from a server crash or other situation) after entering another dz.
This commit is contained in:
+1
-1
@@ -75,7 +75,7 @@ public:
|
||||
|
||||
uint32_t CreateInstance();
|
||||
void AddCharacter(uint32_t character_id);
|
||||
void SaveInstanceMembersToDatabase(const std::unordered_set<uint32_t> character_ids);
|
||||
void SaveInstanceMembersToDatabase(const std::unordered_set<uint32_t>& character_ids);
|
||||
|
||||
uint64_t GetExpireTime() const { return std::chrono::system_clock::to_time_t(m_expire_time); }
|
||||
uint16_t GetInstanceID() const { return static_cast<uint16_t>(m_instance_id); };
|
||||
|
||||
Reference in New Issue
Block a user