From fc05827621fe0c623d2fedf9dcb47c17d57bea16 Mon Sep 17 00:00:00 2001 From: Adam- Date: Sun, 21 Mar 2010 19:57:08 +0000 Subject: Made usermax and hostmax configurable git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2829 5417fbe8-f217-4b02-8779-1006273d7864 --- include/config.h | 6 ------ include/configreader.h | 4 ++++ 2 files changed, 4 insertions(+), 6 deletions(-) (limited to 'include') 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; -- cgit