From af18a3318d001339eb26aa84d098fa5d91885886 Mon Sep 17 00:00:00 2001 From: "Naram Qashat cyberbotx@cyberbotx.com" Date: Sat, 25 Oct 2008 02:38:12 +0000 Subject: Added exceptiondatabase directive to operserv block in new config. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1470 5417fbe8-f217-4b02-8779-1006273d7864 --- src/config.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src') diff --git a/src/config.c b/src/config.c index 1861e361d..1c582d691 100644 --- a/src/config.c +++ b/src/config.c @@ -642,6 +642,7 @@ int ServerConfig::Read(bool bail) {"operserv", "globaldescription", "Global Noticer", new ValueContainerChar(&desc_GlobalNoticer), DT_CHARPTR | DT_NORELOAD, ValidateNotEmpty}, {"operserv", "database", "oper.db", new ValueContainerChar(&OperDBName), DT_CHARPTR, ValidateNotEmpty}, {"operserv", "newsdatabase", "news.db", new ValueContainerChar(&NewsDBName), DT_CHARPTR, ValidateNotEmpty}, + {"operserv", "exceptiondatabase", "exception.db", new ValueContainerChar(&ExceptionDBName), DT_CHARPTR, ValidateNotEmpty}, {NULL, NULL, NULL, NULL, DT_NOTHING, NoValidation} }; /* These tags can occur multiple times, and therefore they have special code to read them @@ -1243,7 +1244,6 @@ Directive directives[] = { {"DefConOffMessage", {{PARAM_STRING, PARAM_RELOAD, &DefConOffMessage}}}, {"EncModule", {{PARAM_STRING, 0, &EncModule}}}, - {"ExceptionDB", {{PARAM_STRING, PARAM_RELOAD, &ExceptionDBName}}}, {"ExceptionExpiry", {{PARAM_TIME, PARAM_RELOAD, &ExceptionExpiry}}}, {"ExpireTimeout", {{PARAM_TIME, PARAM_RELOAD, &ExpireTimeout}}}, {"ForceForbidReason", {{PARAM_SET, PARAM_RELOAD, &ForceForbidReason}}}, @@ -1691,9 +1691,6 @@ int read_config(int reload) } CHEK2(MOTDFilename, MOTDFile); - if (!reload) { - CHEK2(ExceptionDBName, ExceptionDB); - } CHECK(UpdateTimeout); CHECK(ExpireTimeout); CHECK(ReadTimeout); -- cgit