mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-21 10:37:14 +00:00
fix: prevent reuse of old attacks by re-POSTing same values
This commit is contained in:
@@ -97,6 +97,9 @@
|
||||
|
||||
$database->modifyUnit($getFLData['wref'], $uname2, $amounts, $modes);
|
||||
$database->addMovement(3,$getFLData['wref'],$data['to_vid'],$reference,time(),($time+time()));
|
||||
|
||||
// prevent re-use of the same attack via re-POSTing the same data
|
||||
$database->remA2b($data['id']);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user