Added an IRC nickname validity check to JOIN.