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