From 9302af51a355f47c490aed6cabb49c19fffbad67 Mon Sep 17 00:00:00 2001 From: Adam- Date: Sun, 21 Mar 2010 19:57:22 +0000 Subject: Added options:passlen git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2831 5417fbe8-f217-4b02-8779-1006273d7864 --- include/config.h | 12 ------------ include/configreader.h | 5 ++++- 2 files changed, 4 insertions(+), 13 deletions(-) (limited to 'include') diff --git a/include/config.h b/include/config.h index 320c43d57..0ec5f9bf9 100644 --- a/include/config.h +++ b/include/config.h @@ -31,11 +31,6 @@ /* Maximum amount of data from/to the network to buffer (bytes). */ #define NET_BUFSIZE 65536 -/******* OperServ configuration *******/ - -/* Define this to enable OperServ's svs commands (superadmin only). */ - #define USE_OSSVS - /******************* END OF USER-CONFIGURABLE SECTION ********************/ /* Size of input buffer (note: this is different from BUFSIZ) @@ -43,13 +38,6 @@ * things will happen. */ #define BUFSIZE 1024 -/* Extra warning: If you change CHANMAX, your ChanServ database will be - * unusable. - */ - -/* Maximum length of a password */ -#define PASSMAX 32 - /**************************************************************************/ #endif /* CONFIG_H */ diff --git a/include/configreader.h b/include/configreader.h index 9b66ba7b3..a461c1f15 100644 --- a/include/configreader.h +++ b/include/configreader.h @@ -408,9 +408,12 @@ class ServerConfig unsigned NickLen; /* Max length of idents */ unsigned UserLen; - /* Max lenghts of hostnames */ + /* Max lenght of hostnames */ unsigned HostLen; + /* Max length of passwords */ + unsigned PassLen; + /* NickServ Name */ char *s_NickServ; /* ChanServ Name */ -- cgit