mirror of
https://github.com/anope/anope.git
synced 2026-06-29 12:16:38 +02:00
Added nickregdelay directive to options block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1733 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
@@ -436,6 +436,12 @@ options {
|
||||
* message/notice. This directive is optional.
|
||||
*/
|
||||
#anonymousglobal = yes
|
||||
|
||||
/*
|
||||
* Prevents users from registering their nick if they are not connected
|
||||
* for at least the given number of seconds. This directive is optional.
|
||||
*/
|
||||
#nickregdelay = 30
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
+1
-1
@@ -670,6 +670,7 @@ int ServerConfig::Read(bool bail)
|
||||
{"options", "globaloncycledown", "", new ValueContainerChar(&GlobalOnCycleMessage), DT_CHARPTR, ValidateGlobalOnCycle},
|
||||
{"options", "globaloncycleup", "", new ValueContainerChar(&GlobalOnCycleUP), DT_CHARPTR, ValidateGlobalOnCycle},
|
||||
{"options", "anonymousglobal", "no", new ValueContainerBool(&AnonymousGlobal), DT_BOOLEAN, NoValidation},
|
||||
{"options", "nickregdelay", "0", new ValueContainerInt(&NickRegDelay), 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},
|
||||
@@ -1394,7 +1395,6 @@ Directive directives[] = {
|
||||
{"MysqlRetryGap", {{PARAM_POSINT, PARAM_RELOAD, &MysqlRetryGap}}},
|
||||
{"ModuleAutoload", {{PARAM_STRING, PARAM_RELOAD, &Modules}}},
|
||||
{"NewsCount", {{PARAM_POSINT, PARAM_RELOAD, &NewsCount}}},
|
||||
{"NickRegDelay", {{PARAM_POSINT, PARAM_RELOAD, &NickRegDelay}}},
|
||||
{"RemoteServer2", {{PARAM_STRING, 0, &RemoteServer2},
|
||||
{PARAM_PORT, 0, &RemotePort2},
|
||||
{PARAM_STRING, 0, &RemotePassword2}}},
|
||||
|
||||
Reference in New Issue
Block a user