Fix login queue.

This commit is contained in:
Major- committed 2015-08-30 21:20:24 +01:00
1 parent ca36264b35
commit ec95fe9d61
5 files changed
+110 -76

No files matched your search

@@ -213,8 +213,6 @@ public final class LoginDecoder extends StatefulFrameDecoder<LoginDecoderState>
private void writeResponseCode(ChannelHandlerContext ctx, int response) {
ByteBuf buffer = ctx.alloc().buffer(Byte.BYTES);
buffer.writeByte(response);
System.out.println("Sending response: " + response);
ctx.writeAndFlush(buffer).addListener(ChannelFutureListener.CLOSE);
}