it was not until modern times that cholera was recognized as a disease that killed through dehydration primarily ; if you could replace a victim 's water losses rapidly , he would survive the infection without other drugs or treatment .