Fixed a bug where you could join the same channel twice

Also fixed a typo if the channel name was invalid