mirror of
https://github.com/SWG-Source/src.git
synced 2026-01-17 00:04:25 -05:00
this should be here
This commit is contained in:
@@ -945,6 +945,10 @@ void Client::receiveClientMessage(const GameNetworkMessage &message) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!appended) {
|
||||
delete o.getData();
|
||||
}
|
||||
} else {
|
||||
// log as a likely hack
|
||||
LOG("HackAttempts", ("Unauthorized Controller Message: Player %s at %s sent an unauthorized controller message %d for object %s", PlayerObject::getAccountDescription(getCharacterObjectId()).c_str(), getIpAddress().c_str(), o.getMessage(), o.getNetworkId().getValueString().c_str()));
|
||||
@@ -957,10 +961,6 @@ void Client::receiveClientMessage(const GameNetworkMessage &message) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!appended) {
|
||||
delete o.getData();
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user