Fixed protocol bug I introduced

This commit is contained in:
Stephen McQuay 2014-03-10 23:24:25 -07:00
parent eec52769dd
commit dc7db48201

View File

@ -100,10 +100,7 @@ func (r *robot) negociate() (err error) {
} }
if *verbose { if *verbose {
log.Printf("%s: game parameters: %+v", r.name, r.game) log.Printf("%s: game parameters: %+v", r.name, r.game)
return errors.New(fmt.Sprintf("failure: %+v", err))
} }
// TODO: do something with r.game.Protocol
log.Printf("game params: %+v", r.game)
conf := ClientConfig{ conf := ClientConfig{
ID: r.game.Name, ID: r.game.Name,