irc: fix completion of commands /msg, /notice and /query