Skip to content

Commit

Permalink
Oops
Browse files Browse the repository at this point in the history
Signed-off-by: Joshua Castle <[email protected]>
  • Loading branch information
Kas-tle committed Sep 23, 2023
1 parent 894aa22 commit 1149be0
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,6 @@ protected Object setHostname(Object handshakePacket, String hostname) {
ClassNames.HANDSHAKE_INTENTION.get(handshakePacket)
};

System.out.println(components + " ");

return ClassNames.HANDSHAKE_PACKET_CONSTRUCTOR.newInstance(components);
} catch (InstantiationException | IllegalAccessException | InvocationTargetException e) {
e.printStackTrace();
Expand Down Expand Up @@ -127,7 +125,7 @@ protected boolean shouldCallFireRead(Object queuedPacket) {

@Override
public boolean channelRead(Object packet) throws Exception {
if (ClassNames.HANDSHAKE_PACKET.isInstance(packet)) {
if (ClassNames.HANDSHAKE_PACKET.isInstance(packet)) {
// ProtocolSupport would break if we added this during the creation of this handler
ctx.pipeline().addAfter("splitter", "floodgate_packet_blocker", blocker);

Expand Down

0 comments on commit 1149be0

Please sign in to comment.