From 48377ece099302bda1bce2e000363da35142fe1f Mon Sep 17 00:00:00 2001 From: MichaelOultram Date: Wed, 12 Aug 2015 20:46:32 +0100 Subject: [PATCH] Fixing build errors --- test.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test.go b/test.go index 8574e79..f3f3c56 100644 --- a/test.go +++ b/test.go @@ -3,6 +3,7 @@ package main import ( "fmt" "github.com/layeh/gumble/gumble" + "github.com/layeh/gumble/gumbleutil" "time" ) @@ -26,12 +27,14 @@ func Test(password, ip, port string, accesstokens []string) { } func (t TestSettings) createClient(uname string) *gumble.Client { - return gumble.NewClient(&gumble.Config{ + client := gumble.NewClient(&gumble.Config{ Username: uname, Password: t.password, Address: t.ip + ":" + t.port, Tokens: t.accesstokens, }) + gumbleutil.CertificateLockFile(client, fmt.Sprintf("%s/.mumbledj/cert.lock", dj.homeDir)) + return client } func (t TestSettings) testYoutubeSong() {