Rewrite IRC client