Send null server list to new users

This commit is contained in:
khlieng 2015-05-04 23:52:34 +02:00
parent 79095154ca
commit d440aac023
1 changed files with 2 additions and 0 deletions

View File

@ -68,6 +68,8 @@ func handleWS(ws *websocket.Conn) {
sessions[UUID] = session
sessionLock.Unlock()
session.sendJSON("servers", nil)
go session.write()
}