From 87f70a7f8cb082fce014494361f5b7132219d212 Mon Sep 17 00:00:00 2001 From: MichaelOultram Date: Tue, 28 Jul 2015 13:47:02 +0100 Subject: [PATCH] Fixing build issues --- songqueue.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() }