Apply softban patch, and missing code