diff options
| author | Kandera <KanderaDev@gmail.com> | 2012-03-05 10:58:52 -0500 |
|---|---|---|
| committer | Kandera <KanderaDev@gmail.com> | 2012-03-05 10:58:52 -0500 |
| commit | 680a7083ff0604c1451bd1b83a5c6722edc395a0 (patch) | |
| tree | 163705267d49dd00be5c5c52d4ddc9ec6d3a0a60 /src/server/game/Handlers/CharacterHandler.cpp | |
| parent | 4f5f148e8cf30249cdee2fa404dc93283bb530ec (diff) | |
Core/Misc: add level to login/logout logs, it will help to find xp exploits (aokromes)
Diffstat (limited to 'src/server/game/Handlers/CharacterHandler.cpp')
| -rw-r--r-- | src/server/game/Handlers/CharacterHandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/Handlers/CharacterHandler.cpp b/src/server/game/Handlers/CharacterHandler.cpp index 30119c79d96..15e05ccfbf7 100644 --- a/src/server/game/Handlers/CharacterHandler.cpp +++ b/src/server/game/Handlers/CharacterHandler.cpp @@ -1002,8 +1002,8 @@ void WorldSession::HandlePlayerLogin(LoginQueryHolder* holder) SendNotification(LANG_GM_ON); std::string IP_str = GetRemoteAddress(); - sLog->outChar("Account: %d (IP: %s) Login Character:[%s] (GUID: %u)", - GetAccountId(), IP_str.c_str(), pCurrChar->GetName(), pCurrChar->GetGUIDLow()); + sLog->outChar("Account: %d (IP: %s) Login Character:[%s] (GUID: %u) Level: %d", + GetAccountId(), IP_str.c_str(), pCurrChar->GetName(), pCurrChar->GetGUIDLow(), pCurrChar->getLevel()); if (!pCurrChar->IsStandState() && !pCurrChar->HasUnitState(UNIT_STATE_STUNNED)) pCurrChar->SetStandState(UNIT_STAND_STATE_STAND); |
