summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2010-03-21 19:57:22 +0000
committerAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2010-03-21 19:57:22 +0000
commit9302af51a355f47c490aed6cabb49c19fffbad67 (patch)
treef7f58de6ac3eeb29bf2fc1b6b0981b473dfc909c /include
parent287169d6e8a0aefe12dac1df04778fa73b792682 (diff)
Added options:passlen
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2831 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include')
-rw-r--r--include/config.h12
-rw-r--r--include/configreader.h5
2 files changed, 4 insertions, 13 deletions
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 */