fixed a bug where channels where always autojoined (even if explicitly parted)