]>
jfr.im git - irc/quakenet/newserv.git/blob - core/main.c
851215b795c4581ea13a9604e19ae135ebef6e4e
1 #include "../lib/sstring.h"
14 int newserv_shutdown_pending
;
18 int main(int argc
, char **argv
) {
29 initconfig("newserv.conf");
32 /* Loading the modules will bring in the bulk of the code */
38 doscheduledevents(time(NULL
));
39 if (newserv_shutdown_pending
) {
47 * seed the pseudo-random number generator, rand()
52 gettimeofday(&t
, NULL
);