Skip to content

Commit

Permalink
Merge commit '7d6277a7fc5d82a782dda670d84a183fd97cff96' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
maksis committed Nov 30, 2022
2 parents 9a31157 + 7d6277a commit e8c7cee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airdcpp-core/airdcpp/Message.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ LogMessage::LogMessage(const string& aOriginalText, LogMessage::Severity aSeveri
id(messageIdCounter++), text(Message::unifyLineEndings(aOriginalText)), label(aLabel),
time(aFlags & FLAG_DISABLE_TIMESTAMP ? 0 : GET_TIME()), severity(aSeverity), read(aFlags & FLAG_DISABLE_TIMESTAMP) {

if (aFlags ^ FLAG_DISABLE_HIGHLIGHTS) {
if (!(aFlags & FLAG_DISABLE_HIGHLIGHTS)) {
highlights = MessageHighlight::parseHighlights(text, Util::emptyString, nullptr);
}
}
Expand Down

0 comments on commit e8c7cee

Please sign in to comment.