From 990d7633c064382e275301f3f30e046554df9571 Mon Sep 17 00:00:00 2001 From: Gregg Tavares Date: Fri, 24 Oct 2014 22:22:23 -0700 Subject: [PATCH] fix type in hft-server.js --- server/hft-server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/hft-server.js b/server/hft-server.js index a0e9f6ec..4e237a46 100644 --- a/server/hft-server.js +++ b/server/hft-server.js @@ -259,7 +259,7 @@ var HFTServer = function(options, startedCallback) { if (!ip && req.socket) { ip = req.socket.remoteAddress; } - if (!ip && req.connection && req.connction.socket) { + if (!ip && req.connection && req.connection.socket) { ip = req.connection.socket.remoteAddress; } if (ip && ip.indexOf(',')) {