chore: default size to 33 on LU(W)Strings since that's the most common lenght (#1410)

Was doing this on other places, but not the main one
This commit is contained in:
Aaron Kimbrell
2024-01-12 14:23:44 -06:00
committed by GitHub
parent 8b6fb8fb44
commit 0bc12141c3
9 changed files with 19 additions and 19 deletions

View File

@@ -81,7 +81,7 @@ void ChatIgnoreList::AddIgnore(Packet* packet) {
inStream.IgnoreBytes(4); // ignore some garbage zeros idk
LUWString toIgnoreName(33);
LUWString toIgnoreName;
inStream.Read(toIgnoreName);
std::string toIgnoreStr = toIgnoreName.GetAsString();
@@ -147,7 +147,7 @@ void ChatIgnoreList::RemoveIgnore(Packet* packet) {
inStream.IgnoreBytes(4); // ignore some garbage zeros idk
LUWString removedIgnoreName(33);
LUWString removedIgnoreName;
inStream.Read(removedIgnoreName);
std::string removedIgnoreStr = removedIgnoreName.GetAsString();