diff --git a/src/protocolgame.cpp b/src/protocolgame.cpp index b72564b5a0..5955ad170d 100644 --- a/src/protocolgame.cpp +++ b/src/protocolgame.cpp @@ -1426,7 +1426,7 @@ void ProtocolGame::parseRuleViolationReport(NetworkMessage& msg) uint8_t reportReason = msg.getByte(); auto targetName = msg.getString(); auto comment = msg.getString(); - std::string_view translation; + std::string translation; if (reportType == REPORT_TYPE_NAME) { translation = msg.getString(); } else if (reportType == REPORT_TYPE_STATEMENT) {