Fixing build issues

This commit is contained in:
MichaelOultram 2015-07-28 13:47:02 +01:00
parent 26db170fd3
commit 87f70a7f8c

View file

@ -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()
}