mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-24 02:46:33 +01:00
Core/Logging: Removed one layer of allocations from log message writes (async doesn't wrap in shared_ptr anymore and sync creates LogMessage on the stack)
This commit is contained in:
@@ -1056,7 +1056,7 @@ void WorldSession::HandleCharDeleteOpcode(WorldPackets::Character::CharDelete& c
|
||||
{
|
||||
std::string dump;
|
||||
if (PlayerDumpWriter().GetDump(charDelete.Guid.GetCounter(), dump))
|
||||
sLog->OutCharDump(dump.c_str(), accountId, charDelete.Guid.GetCounter(), name.c_str());
|
||||
sLog->OutCharDump(dump, accountId, charDelete.Guid.GetCounter(), name);
|
||||
}
|
||||
|
||||
sCalendarMgr->RemoveAllPlayerEventsAndInvites(charDelete.Guid);
|
||||
|
||||
Reference in New Issue
Block a user