Update of /cvsroot/srvx/services/src
In directory sc8-pr-cvs1:/tmp/cvs-serv2808/src
Modified Files:
chanserv.c
Log Message:
fix inverted logic when saving channels last-visited timestamp
Index: chanserv.c
===================================================================
RCS file: /cvsroot/srvx/services/src/chanserv.c,v
retrieving revision 1.398
retrieving revision 1.399
diff -C2 -r1.398 -r1.399
*** chanserv.c 9 Dec 2003 13:57:12 -0000 1.398
--- chanserv.c 13 Dec 2003 16:55:51 -0000 1.399
***************
*** 77,84 ****
#define KEY_DNR_REASON "reason"
- /* Command data */
- #define KEY_WEIGHT "weight"
- #define KEY_FLAGS "flags"
-
/* Channel data */
#define KEY_REGISTERED "registered"
--- 77,80 ----
***************
*** 7078,7082 ****
}
! saxdb_write_int(ctx, KEY_VISITED, high_present ? channel->visited : now);
saxdb_end_record(ctx);
}
--- 7074,7078 ----
}
! saxdb_write_int(ctx, KEY_VISITED, high_present ? now : channel->visited);
saxdb_end_record(ctx);
}
|