You are correct! The line spectrum depends on the number of electrons. The helium cation is isoelectronic with the hydrogen atom...both have a single electron in the 1s orbital.