Skip to content

Commit

Permalink
Fix the status returned if the flag was already stolen.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnovikov committed Dec 2, 2023
1 parent a3d5fc6 commit b135647
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/lib/storage/attacks.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def handle_attack(
current_round=current_round,
)
if not success:
raise FlagExceptionEnum.FLAG_YOUR_OWN
raise FlagExceptionEnum.FLAG_ALREADY_STOLEN

except exceptions.FlagSubmitException as e:
result.submit_ok = False
Expand Down

0 comments on commit b135647

Please sign in to comment.