fix(build)

This commit is contained in:
Kitzunu
2022-01-28 16:41:46 +01:00
parent 3f4c562c55
commit 3f420234e1
2 changed files with 14 additions and 13 deletions

View File

@@ -58,14 +58,14 @@ public:
LOG_INFO("module", "Anticheat: Resetting daily report states.");
sAnticheatMgr->ResetDailyReportStates();
UpdateReportResetTime();
FMT_LOG_INFO("module", "Anticheat: Next daily report reset: {}", Acore::Time::TimeToHumanReadable(resetTime));
LOG_INFO("module", "Anticheat: Next daily report reset: {}", Acore::Time::TimeToHumanReadable(resetTime));
}
if (GameTime::GetUptime() > lastIterationPlayer)
{
lastIterationPlayer = GameTime::GetUptime() + Seconds(sConfigMgr->GetOption<uint32>("Anticheat.SaveReportsTime", 60));
FMT_LOG_INFO("module", "Saving reports for {} players.", sWorld->GetPlayerCount());
LOG_INFO("module", "Saving reports for {} players.", sWorld->GetPlayerCount());
for (SessionMap::const_iterator itr = sWorld->GetAllSessions().begin(); itr != sWorld->GetAllSessions().end(); ++itr)
if (Player* plr = itr->second->GetPlayer())