Fix NPE in channel creation.

Change-Id: I7b349f13727fb42ca3015ac7cdd42c832ea8fc79
Fixes-Issue: CLIENT-466
Reviewed-on: http://gerrit.dmdirc.com/3225
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com>