From 289807535ac11bdea7d9969777712edd57653991 Mon Sep 17 00:00:00 2001 From: calzoneman Date: Wed, 20 Aug 2014 12:11:46 -0500 Subject: [PATCH] Typo --- lib/io/ioserver.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/io/ioserver.js b/lib/io/ioserver.js index a00e7eec..ad852539 100644 --- a/lib/io/ioserver.js +++ b/lib/io/ioserver.js @@ -128,7 +128,7 @@ function addTypecheckedFunctions(sock) { function handleConnection(sock) { var ip = sock.request.connection.remoteAddress; if (!ip) { - socket.emit("kick", { + sock.emit("kick", { reason: "Your IP address could not be determined from the socket connection. See https://github.com/Automattic/socket.io/issues/1387#issuecomment-48425088 for details" }); return;