summaryrefslogtreecommitdiff
path: root/src/inspircd_io.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/inspircd_io.cpp')
-rw-r--r--src/inspircd_io.cpp2
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;