Trim flags to avoid mistakes due to empty lines or espaces...

This commit is contained in:
nemunaire 2021-12-07 16:33:30 +01:00
commit 0cc72712a4
7 changed files with 24 additions and 14 deletions

View file

@ -351,7 +351,7 @@ func MyJSONTeam(t *Team, started bool) (interface{}, error) {
}
if t == nil {
h, _ := ComputeHashedFlag([]byte(soluce), false, nil)
h, _ := ComputeHashedFlag([]byte(soluce), false, false, nil)
m.Soluce = hex.EncodeToString(h[:])
}