From 486cbb39703ac9b52e194d808909f169826a831d Mon Sep 17 00:00:00 2001 From: Kitzunu <24550914+Kitzunu@users.noreply.github.com> Date: Fri, 19 Jul 2024 00:31:12 +0200 Subject: [PATCH] fix(Scripts/ChatLog): Whoopsies (#19430) --- src/server/scripts/World/chat_log.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server/scripts/World/chat_log.cpp b/src/server/scripts/World/chat_log.cpp index 76316639a..8426fc65f 100644 --- a/src/server/scripts/World/chat_log.cpp +++ b/src/server/scripts/World/chat_log.cpp @@ -100,7 +100,7 @@ public: std::string action = (type == CHAT_MSG_RAID_WARNING) ? "sends raid warning" : "tells"; std::string targetGroup = group ? group->GetLeaderName() : ""; - LOG_INFO(logType += msgType, "{} {} {} {} with leader {}: {}", + LOG_INFO(logType + msgType, "{} {} {} {} with leader {}: {}", role, player->GetName(), action, msgType, targetGroup, msg); } @@ -123,7 +123,7 @@ public: return; } - LOG_INFO(logType += msgType, "Player {} tells {} \"{}\": {}", + LOG_INFO(logType + msgType, "Player {} tells {} \"{}\": {}", player->GetName(), msgType, guild ? guild->GetName() : "", msg); }