SpigotMC/BungeeCord — pull request #1177 by mrapple (2014-08-19 21:38:10+00:00)
Title: Fix LoginEvent firing after PreLoginEvent is cancelled

Since 1.7, `ch.isClosed()` returns false when called here because of this workaround https://github.com/SpigotMC/BungeeCord/blob/master/proxy/src/main/java/net/md_5/bungee/connection/InitialHandler.java#L456