Changeset 1192


Ignore:
Timestamp:
01/12/10 00:50:45 (11 years ago)
Author:
alno
Message:

WebIf:

  • seems that some vodoo had added the /60 in hideclients_to again on monitorport. Now it should be seconds again on monitor port (same as webif)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/monitor-improvement/module-monitor.c

    r1191 r1192  
    351351  now=time((time_t)0);
    352352  for (i=0; i<CS_MAXPID; i++){
    353     if ((cfg->mon_hideclient_to <= 0) || (((now-client[i].lastecm)/60)<cfg->mon_hideclient_to) || (((now-client[i].lastemm)/60)<cfg->mon_hideclient_to) || (client[i].typ!='c'))
     353    if  ((cfg->mon_hideclient_to <= 0) ||
     354                ((now-client[i].lastecm)<cfg->mon_hideclient_to) ||
     355                ((now-client[i].lastemm)<cfg->mon_hideclient_to) ||
     356                (client[i].typ!='c'))
    354357      if (client[i].pid) {
    355358        if ((client[cs_idx].monlvl<2) && (client[i].typ!='s'))  {
Note: See TracChangeset for help on using the changeset viewer.