diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-04-13 21:58:48 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-04-13 21:58:48 +0000 |
commit | 260b17dda6036210c827ea25ba9d5a15a4402f0f (patch) | |
tree | b110e96abd8dc9f44a40cc066952ac84e95ae54f /src/configreader.cpp | |
parent | 66d3e076e18f6b3d747d633bfd1f5527665a1a33 (diff) |
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
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r-- | src/configreader.cpp | 6 |
1 files 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 <include> 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 |