diff --git a/youtube_dl.go b/youtube_dl.go index af0af59..ff39510 100644 --- a/youtube_dl.go +++ b/youtube_dl.go @@ -91,7 +91,7 @@ func (dl *AudioTrack) Play() { if !isNil(dl.playlist) { message = fmt.Sprintf(message+`From playlist "%s"`, dl.Playlist().Title()) } - if dj.conf.General.AnnounceNewTrack == true { + if dj.conf.General.AnnounceNewTrack { dj.client.Self.Channel.Send(message+``, false) } go func() {