mirror of https://github.com/calzoneman/sync.git
Typo
This commit is contained in:
parent
b4bcb7637b
commit
289807535a
|
@ -128,7 +128,7 @@ function addTypecheckedFunctions(sock) {
|
||||||
function handleConnection(sock) {
|
function handleConnection(sock) {
|
||||||
var ip = sock.request.connection.remoteAddress;
|
var ip = sock.request.connection.remoteAddress;
|
||||||
if (!ip) {
|
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"
|
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;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue