From c1c66c8f5014b31f4e6a44709b441ba88f805e1d Mon Sep 17 00:00:00 2001 From: Cryptkeeper Date: Mon, 1 Feb 2016 05:44:07 -0600 Subject: [PATCH] Fix bad references --- lib/util.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/util.js b/lib/util.js index 2ecea4f..c5d9892 100644 --- a/lib/util.js +++ b/lib/util.js @@ -109,7 +109,7 @@ exports.convertPingsToGraph = function(sqlData) { var serverIps = getServerIps(); var graphData = {}; - var startTime = getCurrentTimeMs(); + var startTime = exports.getCurrentTimeMs(); for (var i = 0; i < sqlData.length; i++) { var entry = sqlData[i]; @@ -133,7 +133,7 @@ exports.convertPingsToGraph = function(sqlData) { // Drop old data. exports.trimOldPings(graphData); - logger.inf('Converted data structure in ' + (getCurrentTimeMs() - startTime) + 'ms'); + logger.inf('Converted data structure in ' + (exports.getCurrentTimeMs() - startTime) + 'ms'); return graphData; }; \ No newline at end of file