X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/dbbe21ed037a7395b671724c0a7c04c90cbaa10d..3aa4e417b9c71f99f573ba298efbf208148cfad5:/src/s_conf.c diff --git a/src/s_conf.c b/src/s_conf.c index fcf83bf..47d8034 100644 --- a/src/s_conf.c +++ b/src/s_conf.c @@ -814,6 +814,7 @@ set_default_conf(void) ConfigChannel.default_split_server_count = 10; ConfigChannel.no_join_on_split = NO; ConfigChannel.no_create_on_split = YES; + ConfigChannel.resv_forcepart = YES; ConfigServerHide.flatten_links = 0; ConfigServerHide.links_delay = 300; @@ -833,6 +834,9 @@ set_default_conf(void) ConfigFileEntry.throttle_duration = 60; ServerInfo.default_max_clients = MAXCONNECTIONS; + + if (!alias_dict) + alias_dict = irc_dictionary_create(strcasecmp); } #undef YES @@ -1523,10 +1527,10 @@ yyerror(const char *msg) strip_tabs(newlinebuf, linebuf, strlen(linebuf)); + ierror("\"%s\", line %d: %s at '%s'", conffilebuf, lineno + 1, msg, newlinebuf); sendto_realops_snomask(SNO_GENERAL, L_ALL, "\"%s\", line %d: %s at '%s'", conffilebuf, lineno + 1, msg, newlinebuf); - ilog(L_MAIN, "\"%s\", line %d: %s at '%s'", conffilebuf, lineno + 1, msg, newlinebuf); } int