summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
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 */