Skip to content

Commit

Permalink
ChatFilter: Fix incorrect segment highlighting (#1255)
Browse files Browse the repository at this point in the history
  • Loading branch information
EmosewaMC authored Nov 5, 2023
1 parent 0f9e951 commit 797abb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dChatFilter/dChatFilter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ std::vector<std::pair<uint8_t, uint8_t>> dChatFilter::IsSentenceOkay(const std::
listOfBadSegments.emplace_back(position, originalSegment.length());
}

position += segment.length() + 1;
position += originalSegment.length() + 1;
}

return listOfBadSegments;
Expand Down

0 comments on commit 797abb1

Please sign in to comment.