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); }