[srvx-commits] CVS: services/src helpserv.c,1.83,1.84
Brought to you by:
entrope
From: Entrope <en...@us...> - 2003-11-05 13:52:33
|
Update of /cvsroot/srvx/services/src In directory sc8-pr-cvs1:/tmp/cvs-serv14561/src Modified Files: helpserv.c Log Message: add comments to helpserv_run_stats() Index: helpserv.c =================================================================== RCS file: /cvsroot/srvx/services/src/helpserv.c,v retrieving revision 1.83 retrieving revision 1.84 diff -C2 -r1.83 -r1.84 *** helpserv.c 19 Oct 2003 04:16:10 -0000 1.83 --- helpserv.c 5 Nov 2003 13:52:23 -0000 1.84 *************** *** 4176,4182 **** --- 4176,4184 ---- hs_user = iter_data(it2); + /* Skip the helper if it's not their week-start day. */ if (hs_user->week_start != when_s.tm_wday) continue; + /* Adjust their credit if they are in-channel at rollover. */ if (hs_user->join_time) { hs_user->time_per_week[0] += when - hs_user->join_time; |