From 8013ffea116faf452ac4ae71595da53369220a0c Mon Sep 17 00:00:00 2001 From: MichaelOultram Date: Thu, 30 Jul 2015 15:17:04 +0100 Subject: [PATCH] Fixing build issues --- web.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/web.go b/web.go index 4bb9c19..b13bcf4 100644 --- a/web.go +++ b/web.go @@ -28,7 +28,11 @@ type Page struct { var external_ip = "" func makeWebserver(port int) WebServer { - webserver := WebServer{port, make(map[*gumble.User]string), make(map[string]*gumble.User)} + webserver := WebServer{} + + webserver.port = port + webserver.client_token = make(map[*gumble.User]string) + webserver.token_client = make(map[string]*gumble.User) http.HandleFunc("/", webserver.homepage) http.HandleFunc("/add", webserver.add)