From 260b17dda6036210c827ea25ba9d5a15a4402f0f Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 13 Apr 2008 21:58:48 +0000 Subject: trunk doesnt seem to like < and > in a quoted section, because someone REMOVED the if check by mistake! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9495 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/configreader.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/configreader.cpp b/src/configreader.cpp index 42294412b..16916653d 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -1430,20 +1430,20 @@ bool ServerConfig::LoadConf(ConfigDataHash &target, FILE* &conf, const char* fil } else if (ch == '>') { + if (!in_quote) { if (in_tag) { // errorstream << "Closing config tag on line " << linenumber << std::endl; in_tag = false; - + /* * If this finds an then ParseLine can simply call * LoadConf() and load the included config into the same ConfigDataHash */ - if (!this->ParseLine(target, line, linenumber, errorstream)) return false; - + line.clear(); } else -- cgit v1.2.3