From d440aac02385fb30633d0f277b6862e7be9249a5 Mon Sep 17 00:00:00 2001 From: khlieng Date: Mon, 4 May 2015 23:52:34 +0200 Subject: [PATCH] Send null server list to new users --- server/websocket_handler.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/websocket_handler.go b/server/websocket_handler.go index 6de65396..ec26a181 100644 --- a/server/websocket_handler.go +++ b/server/websocket_handler.go @@ -68,6 +68,8 @@ func handleWS(ws *websocket.Conn) { sessions[UUID] = session sessionLock.Unlock() + session.sendJSON("servers", nil) + go session.write() }