diff options
-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(); |