Fixing build issues

This commit is contained in:
MichaelOultram 2015-07-30 14:31:10 +01:00
parent ac6979a9d8
commit d9617a86c7

6
web.go
View file

@ -84,6 +84,12 @@ func (web *WebServer) skip(w http.ResponseWriter, r *http.Request) {
} }
func (website *WebServer) GetWebAddress(user *gumble.User) { 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] != "" { if website.client_token[user] != "" {
website.token_client[website.client_token[user]] = nil website.token_client[website.client_token[user]] = nil
} }