summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-01-23 01:18:34 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-01-23 01:18:34 +0000
commit91c8845eaf90f941444aab540d021cb79667b080 (patch)
tree034e781c2889aeb76641d0198a655e7c8e547f21 /src
parent4cb2be033bbb0eafc7ee4fa579daf7ccaca8860b (diff)
And the programming god looked down upon his deciples and said: VERILY, THOU SHALT NOT COMMIT CODE WITH SYNTAX ERRORS IN IT! :P And Craig verily said.... yeah right.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2853 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-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;