82 |
|
const char *pidFileName = PPATH; |
83 |
|
|
84 |
|
char **myargv; |
85 |
– |
char ircd_platform[PLATFORMLEN]; |
85 |
|
|
86 |
|
int dorehash = 0; |
87 |
|
int doremotd = 0; |
298 |
|
initialize_message_files(void) |
299 |
|
{ |
300 |
|
init_message_file(USER_MOTD, MPATH, &ConfigFileEntry.motd); |
302 |
– |
init_message_file(OPER_MOTD, OPATH, &ConfigFileEntry.opermotd); |
301 |
|
init_message_file(USER_LINKS, LIPATH, &ConfigFileEntry.linksfile); |
302 |
|
|
303 |
|
read_message_file(&ConfigFileEntry.motd); |
306 |
– |
read_message_file(&ConfigFileEntry.opermotd); |
304 |
|
read_message_file(&ConfigFileEntry.linksfile); |
305 |
|
|
306 |
|
init_isupport(); |
505 |
|
ConfigFileEntry.configfile = CPATH; /* Server configuration file */ |
506 |
|
ConfigFileEntry.klinefile = KPATH; /* Server kline file */ |
507 |
|
ConfigFileEntry.xlinefile = XPATH; /* Server xline file */ |
511 |
– |
ConfigFileEntry.rxlinefile = RXPATH; /* Server regex xline file */ |
512 |
– |
ConfigFileEntry.rklinefile = RKPATH; /* Server regex kline file */ |
508 |
|
ConfigFileEntry.dlinefile = DLPATH; /* dline file */ |
514 |
– |
ConfigFileEntry.glinefile = GPATH; /* gline log file */ |
509 |
|
ConfigFileEntry.cresvfile = CRESVPATH; /* channel resv file */ |
510 |
|
ConfigFileEntry.nresvfile = NRESVPATH; /* nick resv file */ |
511 |
|
myargv = argv; |
537 |
|
|
538 |
|
setup_signals(); |
539 |
|
|
546 |
– |
get_ircd_platform(ircd_platform); |
547 |
– |
|
540 |
|
/* Init the event subsystem */ |
541 |
|
eventInit(); |
542 |
|
/* We need this to initialise the fd array before anything else */ |
555 |
|
init_hash(); |
556 |
|
init_ip_hash_table(); /* client host ip hash table */ |
557 |
|
init_host_hash(); /* Host-hashtable. */ |
566 |
– |
clear_tree_parse(); |
558 |
|
init_client(); |
559 |
|
init_class(); |
560 |
< |
init_whowas(); |
560 |
> |
whowas_init(); |
561 |
|
watch_init(); |
562 |
|
init_auth(); /* Initialise the auth code */ |
563 |
|
init_resolver(); /* Needs to be setup before the io loop */ |
564 |
+ |
modules_init(); |
565 |
|
read_conf_files(1); /* cold start init conf files */ |
566 |
|
init_uid(); |
567 |
|
initialize_server_capabs(); /* Set up default_server_capabs */ |