diff options
author | trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-03-04 03:44:07 +0000 |
---|---|---|
committer | trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-03-04 03:44:07 +0000 |
commit | a22d9ec3b0ba71f4b1493c2ececd27777a42f65d (patch) | |
tree | ce3f72607d458a18ef7b35f0162ba9081a98eca6 /src/config.c | |
parent | 1a1781fd0c4ef763db1ed0c85e797f2e22cf339e (diff) |
BUILD : 1.7.8 (595) BUGS : N/A NOTES : ShadowIRCD, and cleaned up Numeric
git-svn-id: svn://svn.anope.org/anope/trunk@595 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@444 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/config.c')
-rw-r--r-- | src/config.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/config.c b/src/config.c index 82bd4904a..4176faedb 100644 --- a/src/config.c +++ b/src/config.c @@ -324,7 +324,7 @@ long unsigned int UserKey1; long unsigned int UserKey2; long unsigned int UserKey3; -int Numeric; +char *Numeric; int UnRestrictSAdmin; @@ -519,7 +519,7 @@ Directive directives[] = { {"NewsCount", {{PARAM_POSINT, PARAM_RELOAD, &NewsCount}}}, {"NewsDB", {{PARAM_STRING, PARAM_RELOAD, &NewsDBName}}}, {"NickservDB", {{PARAM_STRING, PARAM_RELOAD, &NickDBName}}}, - {"Numeric", {{PARAM_POSINT, PARAM_RELOAD, &Numeric}}}, + {"Numeric", {{PARAM_STRING, PARAM_RELOAD, &Numeric}}}, {"PreNickServDB", {{PARAM_STRING, PARAM_RELOAD, &PreNickDBName}}}, {"NSEmailReg", {{PARAM_SET, PARAM_RELOAD, &NSEmailReg}}}, {"NickRegDelay", {{PARAM_POSINT, PARAM_RELOAD, &NickRegDelay}}}, @@ -1438,6 +1438,14 @@ int read_config(int reload) } } + if (UseTS6 && ircd->ts6) { + if (!Numeric) { + error(0, + "UseTS6 requires the setting of Numeric to be enabled."); + retval = 0; + } + } + /** * If they try to enable any email registration option, * make sure they have everything else they need too... |