From e73761dc82c9292a8cdb0e58e2275b8cd66f23f1 Mon Sep 17 00:00:00 2001 From: MichaelOultram Date: Mon, 3 Aug 2015 23:02:16 +0100 Subject: [PATCH] Fixing build errors --- youtube_dl.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/youtube_dl.go b/youtube_dl.go index df4e963..b2cb7df 100644 --- a/youtube_dl.go +++ b/youtube_dl.go @@ -16,6 +16,8 @@ type YouTubeDL struct { thumbnail string submitter string duration string + url string + offset string playlist Playlist skippers []string dontSkip bool @@ -99,7 +101,7 @@ func (dl *YouTubeDL) AddSkip(username string) error { func (dl *YouTubeDL) RemoveSkip(username string) error { for i, user := range dl.skippers { if username == user { - dl.skippers = append(s.skippers[:i], s.skippers[i+1:]...) + dl.skippers = append(dl.skippers[:i], dl.skippers[i+1:]...) return nil } }