Trim flags to avoid mistakes due to empty lines or espaces...
This commit is contained in:
parent
e6d8f2db1b
commit
0cc72712a4
7 changed files with 24 additions and 14 deletions
|
|
@ -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[:])
|
||||
}
|
||||
|
||||
|
|
|
|||
Reference in a new issue