Forgot to die if negociation failed.
This commit is contained in:
parent
51d0522833
commit
b63780c2bc
@ -62,7 +62,7 @@ func main() {
|
|||||||
var err error
|
var err error
|
||||||
err = c.Negociate()
|
err = c.Negociate()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Printf("%s: failed to negociate: %s", c.Name, err)
|
log.Fatal("%s: failed to negociate: %s", c.Name, err)
|
||||||
}
|
}
|
||||||
|
|
||||||
c.Player = hbclient.NewSimplePlayer(
|
c.Player = hbclient.NewSimplePlayer(
|
||||||
|
Loading…
Reference in New Issue
Block a user