mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-28 07:22:29 +00:00
Put a category enabled filter on default switch case so we're not chewing up extra cpu cycles
This commit is contained in:
parent
a81212e1b4
commit
92d4468326
@ -99,9 +99,11 @@ bool Client::Process()
|
|||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
{
|
{
|
||||||
char dump[64];
|
if (Log.log_settings[Logs::Client_Server_Packet_Unhandled].is_category_enabled == 1) {
|
||||||
app->build_header_dump(dump);
|
char dump[64];
|
||||||
Log.Out(Logs::General, Logs::Error, "Recieved unhandled application packet from the client: %s.", dump);
|
app->build_header_dump(dump);
|
||||||
|
Log.Out(Logs::General, Logs::Error, "Recieved unhandled application packet from the client: %s.", dump);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user