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 a15d39be2..4d7c933c6 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -329,7 +329,7 @@ void ReadConfig(bool bail, userrec* user) ConfValue("options","softlimit",0,SLIMT,&config_f); SoftLimit = atoi(SLIMT); - if ((SoftLimit < 0) || (SoftLimit > MAXCLIENTS)) + if ((SoftLimit < 1) || (SoftLimit > MAXCLIENTS)) { log(DEFAULT,"WARNING: <options:softlimit> value is greater than %d or less than 0, set to %d.",MAXCLIENTS,MAXCLIENTS); SoftLimit = MAXCLIENTS; |