aboutsummaryrefslogtreecommitdiffstats
path: root/src/config.c
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2020-11-19 19:43:38 -0500
committerLibravatarUnit 193 <unit193@unit193.net>2020-11-19 19:43:38 -0500
commit63e4f9bb7cea4f73a091431407d042ec9ae8b5f7 (patch)
treed56703bf5e2a0932e7519843589d31c228d0314e /src/config.c
parent79783ce4f83642ba748824dc02ecc1d897df347a (diff)
parent6a0204e95aa5358ef2bf7714559ccd366dba4617 (diff)
Update upstream source from tag 'upstream/1.1.9'
Update to upstream version '1.1.9' with Debian dir f87a15f8b0e0242659f92e8bd07df9e123305fbe
Diffstat (limited to 'src/config.c')
-rw-r--r--src/config.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/config.c b/src/config.c
index 70129b0..30a02ed 100644
--- a/src/config.c
+++ b/src/config.c
@@ -52,14 +52,11 @@ static void
config_setup(void)
{
/* Setup irc {} block defaults */
- IRCItem.mode = xstrdup("+c");
IRCItem.nick = xstrdup("hopm");
IRCItem.port = 6667;
- IRCItem.tls = 0;
IRCItem.tls_hostname_verification = 1;
IRCItem.readtimeout = 900;
IRCItem.reconnectinterval = 30;
- IRCItem.oper = xstrdup("undefined");
IRCItem.username = xstrdup("hopm");
IRCItem.realname = xstrdup("Hybrid Open Proxy Monitor");
IRCItem.server = xstrdup("irc.example.org");
@@ -70,7 +67,6 @@ config_setup(void)
OptionsItem.command_queue_size = 64;
OptionsItem.command_interval = 10;
OptionsItem.command_timeout = 180;
- OptionsItem.negcache = 0; /* 0 disabled negcache */
OptionsItem.negcache_rebuild = 43200;
OptionsItem.pidfile = xstrdup("hopm.pid");
OptionsItem.dns_fdlimit = 50;
@@ -97,8 +93,8 @@ config_load(const char *filename)
yyparse();
fclose(conf_file);
- scan_init(); /* Initialize the scanners once we have the configuration */
- stats_init(); /* Initialize stats (UPTIME) */
+ scan_init(); /* Initialize the scanners once we have the configuration */
+ stats_init(); /* Initialize stats (UPTIME) */
firedns_init(); /* Initialize adns */
}