about summary refs log tree commit diff
path: root/src/http.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/http.go')
-rw-r--r--src/http.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http.go b/src/http.go
index 6ad5b5e..6feeb33 100644
--- a/src/http.go
+++ b/src/http.go
@@ -236,7 +236,7 @@ func submitFlagHandler(w http.ResponseWriter, r *http.Request) {
 						correctFlag = true
 					} else {
 						// ow, bummer :(
-						challenge.FlagTries++
+						challenges[index].FlagTries++
 					}
 					break
 				}