diff options
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r-- | src/inspircd.cpp | 2 |
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) |