Reenable throttle since we only support 1.7+

This commit is contained in:
md_5 2014-06-11 16:08:33 +10:00
parent 77f6930280
commit f23691df23

View File

@ -36,9 +36,8 @@ public class PipelineUtils
{ {
if ( BungeeCord.getInstance().getConnectionThrottle().throttle( ( (InetSocketAddress) ch.remoteAddress() ).getAddress() ) ) if ( BungeeCord.getInstance().getConnectionThrottle().throttle( ( (InetSocketAddress) ch.remoteAddress() ).getAddress() ) )
{ {
// TODO: Better throttle - we can't throttle this way if we want to maintain 1.7 compat! ch.close();
// ch.close(); return;
// return;
} }
BASE.initChannel( ch ); BASE.initChannel( ch );