Skip to content

Commit

Permalink
Fix typo in VelocityRegisteredServer#ping()
Browse files Browse the repository at this point in the history
  • Loading branch information
astei committed Oct 28, 2023
1 parent 74033ad commit 7f8edf8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ protected void initChannel(Channel ch) throws Exception {
PingSessionHandler handler = new PingSessionHandler(pingFuture,
VelocityRegisteredServer.this, conn, pingOptions.getProtocolVersion());
conn.setActiveSessionHandler(StateRegistry.HANDSHAKE, handler);
conn.addSessionHandler(StateRegistry.LOGIN, handler);
conn.addSessionHandler(StateRegistry.STATUS, handler);
} else {
pingFuture.completeExceptionally(future.cause());
}
Expand Down

0 comments on commit 7f8edf8

Please sign in to comment.