Cleanup unused arg in remove lockout method

This commit is contained in:
hg
2020-11-06 20:40:08 -05:00
parent 738fd48163
commit 54a175b3ef
2 changed files with 4 additions and 7 deletions
+2 -5
View File
@@ -9675,7 +9675,7 @@ void Client::AddExpeditionLockoutDuration(
}
void Client::RemoveExpeditionLockout(
const std::string& expedition_name, const std::string& event_name, bool update_db, bool update_client)
const std::string& expedition_name, const std::string& event_name, bool update_db)
{
m_expedition_lockouts.erase(std::remove_if(m_expedition_lockouts.begin(), m_expedition_lockouts.end(),
[&](const ExpeditionLockoutTimer& lockout) {
@@ -9688,10 +9688,7 @@ void Client::RemoveExpeditionLockout(
ExpeditionDatabase::DeleteCharacterLockout(CharacterID(), expedition_name, event_name);
}
if (update_client)
{
SendExpeditionLockoutTimers();
}
SendExpeditionLockoutTimers();
}
void Client::RemoveAllExpeditionLockouts(const std::string& expedition_name, bool update_db)