Rewrite IRC relay.