Fixing build issues

This commit is contained in:
MichaelOultram 2015-07-30 14:52:33 +01:00
parent 759ea0f3b9
commit 7da0a68f51
2 changed files with 3 additions and 3 deletions

View file

@ -172,7 +172,7 @@ var dj = mumbledj{
cache: NewSongCache(),
}
var web *WebServer
var web WebServer
// main primarily performs startup tasks. Grabs and parses commandline
// args, sets up the gumble client and its listeners, and then connects to the server.

4
web.go
View file

@ -27,8 +27,8 @@ type Page struct {
var external_ip = ""
func Webserver(port int) *WebServer {
webserver := &WebServer{}
func makeWebserver(port int) WebServer {
webserver := WebServer{}
webserver.port = port
webserver.client_token = make(map[*gumble.User]string)