[Logging] Fix logging crash when % are sent through query logs (#3461)

This commit is contained in:
Chris Miles 2023-07-01 18:49:01 -05:00 committed by GitHub
parent a1f2764978
commit dfadc237e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -446,6 +446,8 @@ void EQEmuLogSys::Out(
// remove this when we remove all legacy logs
bool ignore_log_legacy_format = (
log_category == Logs::Netcode ||
log_category == Logs::MySQLQuery ||
log_category == Logs::MySQLError ||
log_category == Logs::PacketServerClient ||
log_category == Logs::PacketClientServer ||
log_category == Logs::PacketServerToServer