public void onQuit(IRCUserInfo user, String msg) {
    String nick = user.getNick();
    String username = user.getUsername();
    String host = user.getHost();
    if (msg.length() > 0)
      msg = "("+ msg +")";
    String line = "* Quit: "+ nick +" ("+ username +"@"+ host +") quits "+ msg;
    int iTabsAmount = mainFrame.getTabCount();
    for (int i = 0; i < iTabsAmount; i++) {
      Component component = mainFrame.getComponentAt(i);
      if (component instanceof ChanPanel) {
        String status = mainFrame.removeNick(i, nick); 
        if (status != null) 
          mainFrame.updateTab(i, line);
      }
    }
  }