summaryrefslogtreecommitdiff
path: root/src/misc.c
diff options
context:
space:
mode:
authorAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2010-03-21 19:57:08 +0000
committerAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2010-03-21 19:57:08 +0000
commitfc05827621fe0c623d2fedf9dcb47c17d57bea16 (patch)
tree11a6cc4dedd80802520e454f888c0f1e6cbe08aa /src/misc.c
parent04bf65525ab0db8393b89c12c3aeae52b91fe4ac (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 'src/misc.c')
-rw-r--r--src/misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc.c b/src/misc.c
index a39886ccb..953d28fcd 100644
--- a/src/misc.c
+++ b/src/misc.c
@@ -482,7 +482,7 @@ int doValidHost(const char *host, int type)
len = strlen(host);
- if (len > HOSTMAX) {
+ if (len > Config.HostLen) {
return 0;
}