Fix build

This commit is contained in:
Wim 2018-02-01 01:01:25 +01:00
parent 7764493298
commit 9c9c4bf1f9

View File

@ -108,7 +108,7 @@ func (b *Bmatrix) Send(msg config.Message) (string, error) {
if strings.Contains(mtype, "image") ||
strings.Contains(mtype, "video") {
if fi.Comment != "" {
resp, err := b.mc.SendText(channel, msg.Username+fi.Comment)
_, err := b.mc.SendText(channel, msg.Username+fi.Comment)
if err != nil {
flog.Errorf("file comment failed: %#v", err)
}