Esempio n. 1
0
  private void touchUser(String nick, String channel) {
    User user = ircData.getUser(nick);

    boolean wasIdle = user.isIdle();

    user.touch();

    if (wasIdle && ircData.getChannel(channel) != null) {
      ChannelDataWatch temp = ircData.getChannelDataWatch(ircData.getChannel(channel));
      if (temp != null) {
        temp.userChanged();
      }
    }
  }