From d9617a86c77fe400fdadc08f504d2fede0ded1e6 Mon Sep 17 00:00:00 2001 From: MichaelOultram Date: Thu, 30 Jul 2015 14:31:10 +0100 Subject: [PATCH] Fixing build issues --- web.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/web.go b/web.go index 12f839e..851c440 100644 --- a/web.go +++ b/web.go @@ -84,6 +84,12 @@ func (web *WebServer) skip(w http.ResponseWriter, r *http.Request) { } func (website *WebServer) GetWebAddress(user *gumble.User) { + if website == nil { + Verbose("WEBSITE NOT INITIALISED") + } + if website.client_token == nil { + Verbose("CLIENT_TOKEN NOT INITIALISED") + } if website.client_token[user] != "" { website.token_client[website.client_token[user]] = nil }