summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/config.h6
-rw-r--r--include/configreader.h4
2 files changed, 4 insertions, 6 deletions
diff --git a/include/config.h b/include/config.h
index 42bacccf0..601013e86 100644
--- a/include/config.h
+++ b/include/config.h
@@ -53,12 +53,6 @@
/* Maximum length of a password */
#define PASSMAX 32
-/* Maximum length of a username */
-#define USERMAX 10
-
-/* Maximum length of a domain */
-#define HOSTMAX 64
-
/**************************************************************************/
#endif /* CONFIG_H */
diff --git a/include/configreader.h b/include/configreader.h
index a22736463..9b66ba7b3 100644
--- a/include/configreader.h
+++ b/include/configreader.h
@@ -406,6 +406,10 @@ class ServerConfig
char *NetworkName;
/* The max legnth of nicks */
unsigned NickLen;
+ /* Max length of idents */
+ unsigned UserLen;
+ /* Max lenghts of hostnames */
+ unsigned HostLen;
/* NickServ Name */
char *s_NickServ;