]> jfr.im git - irc/ircd-hybrid/hopm.git/commitdiff
- config.c:config_setup(): remove assignments of 0
authormichael <redacted>
Mon, 16 Nov 2020 10:38:00 +0000 (10:38 +0000)
committermichael <redacted>
Mon, 16 Nov 2020 10:38:00 +0000 (10:38 +0000)
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/branches/1.1.x@9729 82007160-df01-0410-b94d-b575c5fd34c7

src/config.c

index 40b8a45d6386c299f3f2f61b31a2e0216bec5ec0..30a02ed910f80a557fa682ec574341b060a50751 100644 (file)
@@ -54,7 +54,6 @@ config_setup(void)
   /* Setup irc {} block defaults */
   IRCItem.nick = xstrdup("hopm");
   IRCItem.port = 6667;
-  IRCItem.tls = 0;
   IRCItem.tls_hostname_verification = 1;
   IRCItem.readtimeout = 900;
   IRCItem.reconnectinterval = 30;
@@ -68,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;
@@ -95,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 */
 }