diff options
author | om <om@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-04-04 06:22:52 +0000 |
---|---|---|
committer | om <om@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-04-04 06:22:52 +0000 |
commit | 98c867cf09343fa3161a1f6e712aa48299a33db8 (patch) | |
tree | 294a7f7d909a1c2f3b4b3e46c5eba82a369e69e6 | |
parent | b68b58fabafa0c08cab640142f02c323b403f712 (diff) |
Die properly on included config file errors
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3821 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/inspircd_io.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/inspircd_io.cpp b/src/inspircd_io.cpp index 76c1429e1..bac5d2c1e 100644 --- a/src/inspircd_io.cpp +++ b/src/inspircd_io.cpp @@ -1223,7 +1223,8 @@ bool ServerConfig::ParseLine(ConfigDataHash &target, std::string &line, long lin if((tagname == "include") && (current_key == "file")) { - this->DoInclude(target, current_value, errorstream); + if(!this->DoInclude(target, current_value, errorstream)) + return false; } current_key.clear(); |