[irc] Precompile message match pattern, change error messages into a NOTICE.