Send last mojang_services update when a socket connects
This commit is contained in:
parent
da5dd8b026
commit
fcff7a0fec
1
app.js
1
app.js
@ -83,6 +83,7 @@ server.start(function() {
|
|||||||
|
|
||||||
// Send them our previous data, so they have somewhere to start.
|
// Send them our previous data, so they have somewhere to start.
|
||||||
client.emit('add', networkHistoryList);
|
client.emit('add', networkHistoryList);
|
||||||
|
client.emit('updateMojangServices', mojang.toMessage());
|
||||||
|
|
||||||
// Attach our listeners.
|
// Attach our listeners.
|
||||||
client.on('disconnect', function(client) {
|
client.on('disconnect', function(client) {
|
||||||
|
Loading…
Reference in New Issue
Block a user