summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-06-01 15:36:38 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-06-01 15:36:38 +0000
commit690cdba6786ada620b43bb0afb07308f47612dc8 (patch)
tree1993cc4be5f24cb7927fa4a0abda9a89cadc8c13
parentd27fc9f220242592a12157e2667e831c23ef8eea (diff)
MaxClients -> MAXCLIENTS
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1584 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/inspircd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index a1b601ea2..a15d39be2 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -332,7 +332,7 @@ void ReadConfig(bool bail, userrec* user)
if ((SoftLimit < 0) || (SoftLimit > MAXCLIENTS))
{
log(DEFAULT,"WARNING: <options:softlimit> value is greater than %d or less than 0, set to %d.",MAXCLIENTS,MAXCLIENTS);
- SoftLimit = MaxClients;
+ SoftLimit = MAXCLIENTS;
}
MaxConn = atoi(MCON);
if (MaxConn > SOMAXCONN)