public boolean moveToChannel(String fromChan, String toChan) {
    boolean success = true;

    if(!sendln("PART " + fromChan) || !sendln("JOIN " + toChan)) {
      success = false;
    }

    config.setChannel(toChan);

    return success;
  }