Send last mojang_services update when a socket connects

This commit is contained in:
Cryptkeeper 2015-11-02 23:19:52 -06:00
parent da5dd8b026
commit fcff7a0fec

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) {