Fixing build errors

This commit is contained in:
MichaelOultram 2015-08-12 20:46:32 +01:00
parent ee8578119f
commit 48377ece09

View file

@ -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() {