mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-12 00:18:37 +00:00
Cleanup some expedition logging and formatting
Remove logging unsanitized input Make unsigned comparison not compare < 0 Cleanup some FormatName and string usage. Some of these strings could probably be moved instead Remove unnecessary expedition lookup in a world message handler
This commit is contained in:
@@ -95,7 +95,7 @@ void ExpeditionCache::LoadActiveExpeditions()
|
||||
m_expeditions = ExpeditionDatabase::LoadExpeditions();
|
||||
|
||||
auto elapsed = benchmark.elapsed();
|
||||
LogExpeditions("World caching [{}] expeditions took {}s", m_expeditions.size(), elapsed);
|
||||
LogExpeditions("World caching [{}] expeditions took [{}s]", m_expeditions.size(), elapsed);
|
||||
}
|
||||
|
||||
void ExpeditionCache::AddExpedition(uint32_t expedition_id)
|
||||
|
||||
Reference in New Issue
Block a user