public void joinChannelImmediately(String channel){
  if (state >= STATE_REGISTERED) {
    if (!channel.startsWith("#")) {
      channel="#" + channel;
    }
    send("JOIN " + channel);
    onJoinAttempt(channel);
  }
}

public void joinChannelImmediately ( String channel ) { if ( state >= STATE_REGISTERED ) { if ( ! channel . startsWith ( "#" ) ) { channel = "#" + channel ; } send ( "JOIN " + channel ) ; onJoinAttempt ( channel ) ; } }
join a channel . this adds # in front if not there .
