From 92c8230ae80cad17ee4814f188d952ff251d19e9 Mon Sep 17 00:00:00 2001 From: MichaelOultram Date: Sun, 16 Aug 2015 19:10:49 +0100 Subject: [PATCH] Fixing build issues --- service_soundcloud.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/service_soundcloud.go b/service_soundcloud.go index 5897a1c..afe52f9 100644 --- a/service_soundcloud.go +++ b/service_soundcloud.go @@ -64,8 +64,8 @@ func (sc SoundCloud) NewRequest(user *gumble.User, url string) (string, error) { timesplit = strings.Split(timesplit[1], ":") multiplier := 1 for i := len(timesplit) - 1; i >= 0; i-- { - offset += strconv.Atoa(timesplit[i]) * multiplier - mutiplier *= 60 + offset += strconv.Atoi(timesplit[i]) * multiplier + multiplier *= 60 } fmt.Printf("Offset: " + strconv.Itoa(offset)) // DEBUG }