Fixed null pointer deref when we try to autojoin a channel

Fixed null pointer deref when we try to autojoin a channel of a network not in the network list.
(We check the favchans of the network to get the key the channel may require.)