Make the ircd start again.
This commit is contained in:
parent
9bdd947118
commit
befa24c8fe
1 changed files with 9 additions and 13 deletions
22
src/ircd.c
22
src/ircd.c
|
@ -543,7 +543,15 @@ main(int argc, char *argv[])
|
|||
|
||||
init_sys();
|
||||
|
||||
|
||||
ConfigFileEntry.dpath = DPATH;
|
||||
ConfigFileEntry.configfile = CPATH; /* Server configuration file */
|
||||
ConfigFileEntry.klinefile = KPATH; /* Server kline file */
|
||||
ConfigFileEntry.dlinefile = DLPATH; /* dline file */
|
||||
ConfigFileEntry.xlinefile = XPATH;
|
||||
ConfigFileEntry.resvfile = RESVPATH;
|
||||
ConfigFileEntry.connect_timeout = 30; /* Default to 30 */
|
||||
|
||||
umask(077); /* better safe than sorry --SRB */
|
||||
|
||||
myargv = argv;
|
||||
parseargs(&argc, &argv, myopts);
|
||||
|
@ -583,18 +591,6 @@ main(int argc, char *argv[])
|
|||
/* Initialise the channel capability usage counts... */
|
||||
init_chcap_usage_counts();
|
||||
|
||||
ConfigFileEntry.dpath = DPATH;
|
||||
ConfigFileEntry.configfile = CPATH; /* Server configuration file */
|
||||
ConfigFileEntry.klinefile = KPATH; /* Server kline file */
|
||||
ConfigFileEntry.dlinefile = DLPATH; /* dline file */
|
||||
ConfigFileEntry.xlinefile = XPATH;
|
||||
ConfigFileEntry.resvfile = RESVPATH;
|
||||
ConfigFileEntry.connect_timeout = 30; /* Default to 30 */
|
||||
|
||||
umask(077); /* better safe than sorry --SRB */
|
||||
|
||||
|
||||
|
||||
if(printVersion)
|
||||
{
|
||||
printf("ircd: version %s(%s)\n", ircd_version, serno);
|
||||
|
|
Loading…
Reference in a new issue