diff options
author | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-03-21 19:57:08 +0000 |
---|---|---|
committer | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-03-21 19:57:08 +0000 |
commit | fc05827621fe0c623d2fedf9dcb47c17d57bea16 (patch) | |
tree | 11a6cc4dedd80802520e454f888c0f1e6cbe08aa /include | |
parent | 04bf65525ab0db8393b89c12c3aeae52b91fe4ac (diff) |
Made usermax and hostmax configurable
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2829 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include')
-rw-r--r-- | include/config.h | 6 | ||||
-rw-r--r-- | include/configreader.h | 4 |
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; |