The city will be cracking down on landlords who rent homes that are not up to code.