From f62746a6fdbb1d73b18ddc545e5d16687b54d88f Mon Sep 17 00:00:00 2001 From: michael Date: Thu, 1 Jan 2015 19:35:54 +0000 Subject: [PATCH] - config.c:config_setup(): removed some pointless defaults git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@5269 82007160-df01-0410-b94d-b575c5fd34c7 --- src/config.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/config.c b/src/config.c index ad7fbf2..d464f7a 100644 --- a/src/config.c +++ b/src/config.c @@ -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 -- 2.30.2