mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-25 15:07:28 +00:00
ChatFilter: Fix incorrect segment highlighting (#1255)
This commit is contained in:
parent
0f9e951162
commit
797abb176a
@ -144,7 +144,7 @@ std::vector<std::pair<uint8_t, uint8_t>> dChatFilter::IsSentenceOkay(const std::
|
|||||||
listOfBadSegments.emplace_back(position, originalSegment.length());
|
listOfBadSegments.emplace_back(position, originalSegment.length());
|
||||||
}
|
}
|
||||||
|
|
||||||
position += segment.length() + 1;
|
position += originalSegment.length() + 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
return listOfBadSegments;
|
return listOfBadSegments;
|
||||||
|
Loading…
Reference in New Issue
Block a user