Fix LoginEvent firing after PreLoginEvent is cancelled
This commit is contained in:
parent
e573f7b89c
commit
41ccf3f9d3
@ -277,6 +277,7 @@ public class InitialHandler extends PacketHandler implements PendingConnection
|
||||
if ( result.isCancelled() )
|
||||
{
|
||||
disconnect( result.getCancelReason() );
|
||||
return;
|
||||
}
|
||||
if ( ch.isClosed() )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user