irc: fix display of malformed CTCP (without closing char) (bug #38347)