From 79c6074a8d441c21d0c1f16079fe6b483e3043e1 Mon Sep 17 00:00:00 2001 From: Freeyorp Date: Wed, 15 May 2013 07:13:31 +1200 Subject: Actually return when killing an invalid session --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index 65d8d93..86563e3 100644 --- a/index.js +++ b/index.js @@ -52,6 +52,7 @@ var logServerAction = entityLogger(0); sessionSockets.on('connection', function (err, socket, session) { if (!session) { socket.disconnect(); + return; } /* * Don't do anything until they send a login message. -- cgit v1.2.3-60-g2f50