Nisin is an effective inhibitor of Clostridium difficile vegetative cells and spore germination.