public synchronized void addChannelToHistory(String channel){
  if (!settings.getBoolean("saveChannelHistory")) {
    return;
  }
  channel=prepareChannel(channel);
  if (channel == null) {
    return;
  }
  settings.mapPut(HISTORY_SETTING,channel,System.currentTimeMillis());
  settings.setSettingChanged("channelHistory");
}

public synchronized void addChannelToHistory ( String channel ) { if ( ! settings . getBoolean ( "saveChannelHistory" ) ) { return ; } channel = prepareChannel ( channel ) ; if ( channel == null ) { return ; } settings . mapPut ( HISTORY_SETTING , channel , System . currentTimeMillis ( ) ) ; settings . setSettingChanged ( "channelHistory" ) ; }
adds a single channel to history , with the current time .
