Oops, forgot the target

This commit is contained in:
Hamcha 2016-02-09 10:24:00 +00:00
parent 85284e40be
commit 9378ec3e38

View file

@ -38,5 +38,5 @@ func (b *Broker) SendTextMessage(chat *APIChat, text string) {
if err != nil { if err != nil {
log.Printf("[SendTextMessage] JSON Encode error: %s\n", err.Error()) log.Printf("[SendTextMessage] JSON Encode error: %s\n", err.Error())
} }
fmt.Fprintln(data) fmt.Fprintln(b.Socket, data)
} }