public boolean kickFromChannel(String chan, String msg) {
    boolean success = true;
    msg = addNewLines(msg);
    String[] msgArr = msg.split("\n");
    char ch;

    for(int j=0;j<msgArr.length;j++) {
      /*
       * Meaning if one call to sendln returns false
       * This entire function will return false
       */
      if( !sendln("kick " + chan + " " + msgArr[j]) ) {
        success = false; 
      }
    }
    return success;
  }