src/irc: conform to spec