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:
@@ -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
@@ -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}}},
|
||||
|
||||
Reference in New Issue
Block a user