mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-18 03:22:27 +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,11 +99,13 @@ bool Client::Process()
|
||||
}
|
||||
default:
|
||||
{
|
||||
if (Log.log_settings[Logs::Client_Server_Packet_Unhandled].is_category_enabled == 1) {
|
||||
char dump[64];
|
||||
app->build_header_dump(dump);
|
||||
Log.Out(Logs::General, Logs::Error, "Recieved unhandled application packet from the client: %s.", dump);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
delete app;
|
||||
app = connection->PopPacket();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user