src/cod: Switch to ircmess for line parsing