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 {