From 578a4eb6260817b7e9251fc7d429b8cb5172d0a8 Mon Sep 17 00:00:00 2001 From: MichaelOultram Date: Mon, 27 Jul 2015 22:39:39 +0100 Subject: [PATCH] Fixing build issues --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index ddf6404..376acb8 100644 --- a/main.go +++ b/main.go @@ -148,14 +148,14 @@ var dj = mumbledj{ cache: NewSongCache(), } -var services []Service +var services []*Service // main primarily performs startup tasks. Grabs and parses commandline // args, sets up the gumble client and its listeners, and then connects to the server. func main() { PerformStartupChecks() - services = []Service{Youtube{}} + services = []*Service{Youtube{}} if currentUser, err := user.Current(); err == nil { dj.homeDir = currentUser.HomeDir