The spectrum of resistive MHD modes in cylindrical plasmas