From d3407816111d60a895c174a9becb36393b11c408 Mon Sep 17 00:00:00 2001 From: MichaelOultram Date: Mon, 10 Aug 2015 19:31:12 +0100 Subject: [PATCH] Fixing build errors --- service_soundcloud.go | 2 +- service_youtube.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/service_soundcloud.go b/service_soundcloud.go index aa43e2f..9784468 100644 --- a/service_soundcloud.go +++ b/service_soundcloud.go @@ -62,7 +62,7 @@ func (sc SoundCloud) NewRequest(user *gumble.User, url string) (string, error) { return playlist.Title(), nil } else { Verbose("soundcloud.NewRequest: " + err.Error()) - return nil, err + return "", err } } else { return "", errors.New("NO_PLAYLIST_PERMISSION") diff --git a/service_youtube.go b/service_youtube.go index ff1b9ec..542baa0 100644 --- a/service_youtube.go +++ b/service_youtube.go @@ -77,7 +77,7 @@ func (yt YouTube) NewRequest(user *gumble.User, url string) (string, error) { return song.Title(), nil } else { Verbose("youtube.NewRequest: " + err.Error()) - return nil, err + return "", err } } } else {