Fix legacy pinging with some uber ninja coding.