mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-22 16:28:28 +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:
@@ -55,6 +55,7 @@ namespace ExpeditionDatabase
|
||||
const std::vector<ExpeditionMember>& members, const std::string& expedition_name, const std::string& event_name);
|
||||
void AssignPendingLockouts(uint32_t character_id, const std::string& expedition_name);
|
||||
void DeletePendingLockouts(uint32_t character_id);
|
||||
void DeleteAllMembersPendingLockouts(const std::vector<ExpeditionMember>& members);
|
||||
uint32_t GetExpeditionIDFromCharacterID(uint32_t character_id);
|
||||
uint32_t GetExpeditionIDFromInstanceID(uint32_t instance_id);
|
||||
ExpeditionMember GetExpeditionLeader(uint32_t expedition_id);
|
||||
|
||||
Reference in New Issue
Block a user