irc: fix extraction of channel name in notice (when message starts with "[]")