Code generally is bad either because the writer doesn't care or was in a hurry, or because they don't know better and they think they /are/ writing good code. If it's the former they might accept a patch to clean things up, but if it's the latter I doubt they would.