mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-25 06:57:28 +00:00
Update CheatDetection.cpp (#1559)
This commit is contained in:
parent
9e36510c6b
commit
4d1395e522
@ -130,12 +130,6 @@ bool CheatDetection::VerifyLwoobjidIsSender(const LWOOBJID& id, const SystemAddr
|
|||||||
|
|
||||||
// This will be true if the player does not possess the entity they are trying to send a packet as.
|
// This will be true if the player does not possess the entity they are trying to send a packet as.
|
||||||
// or if the user does not own the character they are trying to send a packet as.
|
// or if the user does not own the character they are trying to send a packet as.
|
||||||
if (invalidPacket) {
|
|
||||||
va_list args;
|
|
||||||
va_start(args, messageIfNotSender);
|
|
||||||
LogAndSaveFailedAntiCheatCheck(id, sysAddr, checkType, messageIfNotSender, args);
|
|
||||||
va_end(args);
|
|
||||||
}
|
|
||||||
|
|
||||||
return !invalidPacket;
|
return !invalidPacket;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user