RFC 1459 does not require channel name be above 0 characters, only that there's a prefix involved, this behavior is present elsewhere in xchat's join channel dialog, making this match.
Merge pull request #775 from benburkhart1/master

Channel joiner dialog does not allow you to join a valid channel