diff --git a/ogame.go b/ogame.go index dd08d1f1..c81923a4 100644 --- a/ogame.go +++ b/ogame.go @@ -917,7 +917,8 @@ LOOP: } msg := bytes.Trim(buf, "\x00") if bytes.Equal(msg, []byte("1::")) { - _, _ = b.ws.Write([]byte("1::/chat")) + _, _ = b.ws.Write([]byte("1::/chat")) // subscribe to chat events + _, _ = b.ws.Write([]byte("1::/auctioneer")) // subscribe to auctioneer events } else if bytes.Equal(msg, []byte("1::/chat")) { authMsg := `5:` + strconv.FormatInt(b.sessionChatCounter, 10) + `+:/chat:{"name":"authorize","args":["` + b.ogameSession + `"]}` _, _ = b.ws.Write([]byte(authMsg))