Fix argument extraction in irc error handler