Oops, forgot the target

This commit is contained in:
Hamcha 2016-02-09 10:24:00 +00:00
parent 85284e40be
commit 9378ec3e38
1 changed files with 1 additions and 1 deletions

View File

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