Core/Logs: Log full guid instead of just low guid, part 2

(cherry picked from commit 3def52c1c4)
This commit is contained in:
Giacomo Pozzoni
2020-04-05 14:28:24 +02:00
committed by Shauren
parent 363db46c43
commit a9e325f6b7
30 changed files with 161 additions and 186 deletions

View File

@@ -66,7 +66,7 @@ inline bool ValidateMessage(Player const* player, std::string& msg)
{
if (isNasty(c))
{
TC_LOG_ERROR("network", "Player %s (%s) sent a message containing invalid character %u - blocked", player->GetName().c_str(),
TC_LOG_ERROR("network", "Player %s %s sent a message containing invalid character %u - blocked", player->GetName().c_str(),
player->GetGUID().ToString().c_str(), uint32(c));
return false;
}