Removed unneeded bracket

This commit is contained in:
MichaelOultram 2015-09-26 16:20:16 +01:00
parent 0cbd0fda45
commit b8a10924f8

View file

@ -91,7 +91,7 @@ func FindServiceAndAdd(user *gumble.User, url string) error {
oldLength := dj.queue.Len()
for _, song := range songArray {
// Check song is not too long
if dj.conf.General.MaxSongDuration == 0 || song.Duration().Seconds()) <= dj.conf.General.MaxSongDuration {
if dj.conf.General.MaxSongDuration == 0 || song.Duration().Seconds() <= dj.conf.General.MaxSongDuration {
if !isNil(song.Playlist()) {
title = song.Playlist().Title()
} else {