- config.c:config_setup(): removed some pointless defaults
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>
Thu, 1 Jan 2015 19:35:33 +0000 (19:35 +0000)
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>
Thu, 1 Jan 2015 19:35:33 +0000 (19:35 +0000)
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/branches/1.0.x@5268 82007160-df01-0410-b94d-b575c5fd34c7

src/config.c

index ad7fbf2f697a8f07b114ca2057fabc26dc5ff298..d464f7ad53675c818879a593c4d8e1af814fa3bd 100644 (file)
@@ -112,29 +112,20 @@ config_setup(void)
   /* Setup IRC Block Defaults */
   IRCItem->mode = xstrdup("+c");
   IRCItem->nick = xstrdup("hopm");
-  IRCItem->nickserv = xstrdup("");
-  IRCItem->password = xstrdup("");
   IRCItem->port = 6667;
   IRCItem->readtimeout = 900;
   IRCItem->oper = xstrdup("undefined");
   IRCItem->username = xstrdup("hopm");
   IRCItem->realname = xstrdup("Hybrid Open Proxy Monitor");
   IRCItem->server = xstrdup("irc.example.org");
-  IRCItem->vhost = xstrdup("");
   IRCItem->connregex = xstrdup("\\*\\*\\* Notice -- Client connecting: ([^ ]+) \\(([^@]+)@([^\\)]+)\\) \\[([0-9\\.]+)\\].*");
   IRCItem->kline = xstrdup("KLINE %u@%h :Open Proxy found on your host.");
 
-
   /* Setup options block defaults */
   OptionsItem->negcache = 0;   /* 0 disabled negcache */
   OptionsItem->pidfile = xstrdup("hopm.pid");
   OptionsItem->dns_fdlimit = 50;
   OptionsItem->scanlog = NULL;
-
-  /* Setup OPM block defaults */
-  OpmItem->sendmail = xstrdup("/usr/sbin/sendmail");
-  OpmItem->dnsbl_from = xstrdup("");
-  OpmItem->dnsbl_to = xstrdup("");
 }
 
 void