]>
jfr.im git - irc/quakenet/newserv.git/blob - core/main.c
1 #include "../lib/sstring.h"
15 int newserv_shutdown_pending
;
19 int main(int argc
, char **argv
) {
30 initconfig("newserv.conf");
33 /* Loading the modules will bring in the bulk of the code */
39 doscheduledevents(time(NULL
));
40 if (newserv_shutdown_pending
) {
46 nsfreeall(POOL_SSTRING
);
51 * seed the pseudo-random number generator, rand()
56 gettimeofday(&t
, NULL
);