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