Add hyperlink to offender in chat

it is NOT a auto tele, but it is a auto select near by and direct whisper to the player.
This commit is contained in:
MDIC
2022-02-25 20:52:26 -05:00
parent be9f2993ee
commit a14848cfd7
2 changed files with 3 additions and 3 deletions

View File

@@ -539,7 +539,7 @@ void AnticheatMgr::BuildReport(Player* player, uint16 reportType)
// need better way to limit chat spam
if (m_Players[key].GetTotalReports() >= sConfigMgr->GetOption<uint32>("Anticheat.ReportinChat.Min", 70) && m_Players[key].GetTotalReports() <= sConfigMgr->GetOption<uint32>("Anticheat.ReportinChat.Max", 80))
{
sWorld->SendGMText(LANG_ANTICHEAT_ALERT, player->GetName().c_str());
sWorld->SendGMText(LANG_ANTICHEAT_ALERT, player->GetName().c_str(), player->GetName().c_str());
}
}
}