From 84579c0d60aa0a28d722ab101dd2609c38945451 Mon Sep 17 00:00:00 2001 From: Calvin Montgomery Date: Fri, 10 Apr 2015 12:05:27 -0500 Subject: [PATCH] Add missing disconnect() in throttle --- lib/io/ioserver.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/io/ioserver.js b/lib/io/ioserver.js index 49cd369f..9ccf6bdd 100644 --- a/lib/io/ioserver.js +++ b/lib/io/ioserver.js @@ -66,6 +66,7 @@ function throttleIP(sock) { reason: "Your IP address is connecting too quickly. Please "+ "wait 10 seconds before joining again." }); + sock.disconnect(); return true; }