Simplify error logging

This commit is contained in:
Akkadius committed 2019-09-01 22:05:44 -05:00
1 parent 98cbb7d781
commit 678c25e02c
44 files changed
+532 -486

No files matched your search

+1 -1
View File
@@ -1052,7 +1052,7 @@ void Client::OPMemorizeSpell(const EQApplicationPacket* app)
{
if(app->size != sizeof(MemorizeSpell_Struct))
{
Log(Logs::General, Logs::Error, "Wrong size on OP_MemorizeSpell. Got: %i, Expected: %i", app->size, sizeof(MemorizeSpell_Struct));
LogError("Wrong size on OP_MemorizeSpell. Got: [{}], Expected: [{}]", app->size, sizeof(MemorizeSpell_Struct));
DumpPacket(app);
return;
}