Changed login event to prelogin and postlogin, if you set the args of prelogin to true, the login is ignored.  In this case, if the server is loginbeforejoin, you need to kick the player with whatever reason otherwise bad things will happen.