Fix spam detection code and unify spam handling for the web and news interfaces.