From 91c8845eaf90f941444aab540d021cb79667b080 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 23 Jan 2006 01:18:34 +0000 Subject: 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 --- src/inspircd_io.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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: value is greater than 31 or less than 0, set to 20."); Config->MaxTargets = 20; -- cgit v1.2.3