diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/inspircd_io.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspircd_io.cpp b/src/inspircd_io.cpp index 897bc5aab..a52c5933b 100644 --- a/src/inspircd_io.cpp +++ b/src/inspircd_io.cpp @@ -228,7 +228,7 @@ void ServerConfig::Read(bool bail, userrec* user) Config->SoftLimit = atoi(SLIMT); if (*MT) Config->MaxTargets = atoi(MT); - if (Config->MaxTargets < 0) || (Config->MaxTargets > 31) + if ((Config->MaxTargets < 0) || (Config->MaxTargets > 31)) { log(DEFAULT,"WARNING: <options:maxtargets> value is greater than 31 or less than 0, set to 20."); Config->MaxTargets = 20; |