diff options
author | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-15 21:19:28 +0000 |
---|---|---|
committer | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-15 21:19:28 +0000 |
commit | dd4069b50434ce0039a0decafa4541969a84ee8d (patch) | |
tree | 8aa609d68556a92e311480912f1727332672973e /src | |
parent | dc2176560d4974b4fdadf81ade10286e120a9930 (diff) |
Added dumpcore and logusers directives to options block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1724 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
-rw-r--r-- | src/config.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/config.c b/src/config.c index 4680c949b..46cdb9540 100644 --- a/src/config.c +++ b/src/config.c @@ -99,8 +99,8 @@ int KeepBackups; bool ForceForbidReason; bool UsePrivmsg; bool UseStrictPrivMsg; -int DumpCore; -int LogUsers; +bool DumpCore; +bool LogUsers; int NickRegDelay; int UseSVSHOLD; int NewsCount; @@ -652,6 +652,8 @@ int ServerConfig::Read(bool bail) {"options", "forceforbidreason", "no", new ValueContainerBool(&ForceForbidReason), DT_BOOLEAN, NoValidation}, {"options", "useprivmsg", "no", new ValueContainerBool(&UsePrivmsg), DT_BOOLEAN, NoValidation}, {"options", "usestrictprivmsg", "no", new ValueContainerBool(&UseStrictPrivMsg), DT_BOOLEAN, NoValidation}, + {"options", "dumpcore", "no", new ValueContainerBool(&DumpCore), DT_BOOLEAN | DT_NORELOAD, NoValidation}, + {"options", "logusers", "no", new ValueContainerBool(&LogUsers), DT_BOOLEAN, NoValidation}, {"nickserv", "nick", "NickServ", new ValueContainerChar(&s_NickServ), DT_CHARPTR | DT_NORELOAD, ValidateNotEmpty}, {"nickserv", "description", "Nickname Registration Service", new ValueContainerChar(&desc_NickServ), DT_CHARPTR | DT_NORELOAD, ValidateNotEmpty}, {"nickserv", "database", "nick.db", new ValueContainerChar(&NickDBName), DT_CHARPTR, ValidateNotEmpty}, @@ -1363,10 +1365,8 @@ bool ValueItem::GetBool() /*************************************************************************/ Directive directives[] = { - {"DumpCore", {{PARAM_SET, 0, &DumpCore}}}, {"LocalAddress", {{PARAM_STRING, 0, &LocalHost}, {PARAM_PORT, PARAM_OPTIONAL, &LocalPort}}}, - {"LogUsers", {{PARAM_SET, PARAM_RELOAD, &LogUsers}}}, {"MysqlHost", {{PARAM_STRING, PARAM_RELOAD, &MysqlHost}}}, {"MysqlUser", {{PARAM_STRING, PARAM_RELOAD, &MysqlUser}}}, {"MysqlPass", {{PARAM_STRING, PARAM_RELOAD, &MysqlPass}}}, |