Fixing build errors

This commit is contained in:
MichaelOultram 2015-08-10 19:31:12 +01:00
parent 46820b68ea
commit d340781611
2 changed files with 2 additions and 2 deletions

View file

@ -62,7 +62,7 @@ func (sc SoundCloud) NewRequest(user *gumble.User, url string) (string, error) {
return playlist.Title(), nil return playlist.Title(), nil
} else { } else {
Verbose("soundcloud.NewRequest: " + err.Error()) Verbose("soundcloud.NewRequest: " + err.Error())
return nil, err return "", err
} }
} else { } else {
return "", errors.New("NO_PLAYLIST_PERMISSION") return "", errors.New("NO_PLAYLIST_PERMISSION")

View file

@ -77,7 +77,7 @@ func (yt YouTube) NewRequest(user *gumble.User, url string) (string, error) {
return song.Title(), nil return song.Title(), nil
} else { } else {
Verbose("youtube.NewRequest: " + err.Error()) Verbose("youtube.NewRequest: " + err.Error())
return nil, err return "", err
} }
} }
} else { } else {