Fix crashing when a user joins a channel while init is incomplete

When a user joins a channel, the list of users with that user's
mode is sorted.  However, if init is incomplete, the new user's
nick may not have been set yet.  If the nick is not set, this
causes an NPE in the compareTo method.  This patch inserts a check
for the null nick and prevents the crash under those circumstances.