join

function for irc, rewrote channel class a bit too, so that it works simpler