diff --git a/songqueue.go b/songqueue.go index c198219..2b111e2 100644 --- a/songqueue.go +++ b/songqueue.go @@ -32,7 +32,7 @@ func (q *SongQueue) AddSong(s Song) error { if len(q.queue) == beforeLen+1 { // Caching as added to queue - if dj.conf.Cache.Enabled && dj.cache.GetCurrentTotalFileSize() > (dj.conf.Cache.MaximumSize*1048576) { + if dj.conf.Cache.Enabled && dj.cache.GetCurrentTotalFileSize() < (dj.conf.Cache.MaximumSize*1048576) { s.Download() }