Fix incorrect IP references

This commit is contained in:
Cryptkeeper
2016-02-01 04:58:05 -06:00
parent 3dc10f571f
commit 6d8ab212e0
2 changed files with 4 additions and 3 deletions

1
app.js
View File

@ -113,6 +113,7 @@ function handlePing(network, res, err) {
// Send the update.
server.io.sockets.emit('updateHistoryGraph', {
ip: network.ip,
name: network.name,
players: (res ? res.players.online : 0),
timestamp: timeMs
});