1
0
mirror of https://github.com/anope/anope.git synced 2026-07-05 18:43:12 +02:00

Added autokilldatabase directive to operserv block in new config.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1471 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
Naram Qashat cyberbotx@cyberbotx.com
2008-10-25 02:40:13 +00:00
parent af18a3318d
commit 8eba4873bb
2 changed files with 8 additions and 1 deletions
+7
View File
@@ -684,4 +684,11 @@ operserv
* executable. If not given, defaults to "exception.db".
*/
exceptiondatabase = "exception.db"
/*
* The filename of OperServ's Autokill database. The path is relative to the services
* executable. If not given, defaults to "akill.db". OperServ no longer uses this file, and
* this directive is only provided for importing an old OperServ database.
*/
#autokilldatabase = "akill.db"
}
+1 -1
View File
@@ -643,6 +643,7 @@ int ServerConfig::Read(bool bail)
{"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},
{"operserv", "autokilldatabase", "akill.db", new ValueContainerChar(&AutokillDBName), 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
@@ -1217,7 +1218,6 @@ bool ValueItem::GetBool()
Directive directives[] = {
{"AkillOnAdd", {{PARAM_SET, PARAM_RELOAD, &AkillOnAdd}}},
{"AutokillDB", {{PARAM_STRING, PARAM_RELOAD, &AutokillDBName}}},
{"AutokillExpiry", {{PARAM_TIME, PARAM_RELOAD, &AutokillExpiry}}},
{"ChankillExpiry", {{PARAM_TIME, PARAM_RELOAD, &ChankillExpiry}}},
{"BadPassLimit", {{PARAM_POSINT, PARAM_RELOAD, &BadPassLimit}}},