From 675c8dc34ac7002df34e154264574c741b61d64d Mon Sep 17 00:00:00 2001 From: cyberbotx Date: Sat, 15 Nov 2008 19:13:07 +0000 Subject: Added badpasslimit directive to options block in new config. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1709 5417fbe8-f217-4b02-8779-1006273d7864 --- src/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/config.c b/src/config.c index 7b0dc2045..b57ddc683 100644 --- a/src/config.c +++ b/src/config.c @@ -640,6 +640,7 @@ int ServerConfig::Read(bool bail) {"options", "userkey3", "0", new ValueContainerLUInt(&UserKey3), DT_LUINTEGER, NoValidation}, {"options", "nobackupokay", "no", new ValueContainerBool(&NoBackupOkay), DT_BOOLEAN, NoValidation}, {"options", "strictpasswords", "no", new ValueContainerBool(&StrictPasswords), DT_BOOLEAN, NoValidation}, + {"options", "badpasslimit", "0", new ValueContainerInt(&BadPassLimit), DT_INTEGER, 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}, @@ -1351,7 +1352,6 @@ bool ValueItem::GetBool() /*************************************************************************/ Directive directives[] = { - {"BadPassLimit", {{PARAM_POSINT, PARAM_RELOAD, &BadPassLimit}}}, {"BadPassTimeout", {{PARAM_TIME, PARAM_RELOAD, &BadPassTimeout}}}, {"DumpCore", {{PARAM_SET, 0, &DumpCore}}}, {"ExpireTimeout", {{PARAM_TIME, PARAM_RELOAD, &ExpireTimeout}}}, -- cgit