diff --git a/overlord/handlers.go b/overlord/handlers.go
index 9669267a..dab472b3 100644
--- a/overlord/handlers.go
+++ b/overlord/handlers.go
@@ -253,21 +253,6 @@ func (o *Server) cleanConnection(client *WorkerClient, serverID string) {
client.Close()
}
-func readUserIP(r *http.Request) string {
- IPAddress := r.Header.Get("X-Real-Ip")
- if IPAddress == "" {
- IPAddress = r.Header.Get("X-Forwarded-For")
- }
- if IPAddress == "" {
- IPAddress = r.RemoteAddr
- }
- // TODO: For debug, should remove it
- if IPAddress == "" {
- return "localhost"
- }
- return IPAddress
-}
-
func getRemoteAddress(conn *websocket.Conn) string {
var remoteAddr string
log.Println(conn.RemoteAddr().String())
diff --git a/static/game.html b/static/game.html
index be012c39..9523ee19 100644
--- a/static/game.html
+++ b/static/game.html
@@ -94,7 +94,7 @@
-
+