Send null server list to new users
This commit is contained in:
parent
79095154ca
commit
d440aac023
1 changed files with 2 additions and 0 deletions
|
@ -68,6 +68,8 @@ func handleWS(ws *websocket.Conn) {
|
||||||
sessions[UUID] = session
|
sessions[UUID] = session
|
||||||
sessionLock.Unlock()
|
sessionLock.Unlock()
|
||||||
|
|
||||||
|
session.sendJSON("servers", nil)
|
||||||
|
|
||||||
go session.write()
|
go session.write()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue