added check for already-joined channels to fix bouncer-related bug