summaryrefslogtreecommitdiff
path: root/include/configreader.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-19 14:07:25 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-19 14:07:25 +0000
commite24540666cf30d4cd093c82d14b1f6f703dc0196 (patch)
treeb663c46c1a6fc1179f093a519a31f13ec5fae458 /include/configreader.h
parent9f58ebc0b182aea1b951e383dd03b447b46ceb58 (diff)
Pick up a few error conditions we didnt before in the config reader, and also increment line number correctly when 'real' newline is found in a value
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7749 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/configreader.h')
-rw-r--r--include/configreader.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configreader.h b/include/configreader.h
index 022978766..94302f25c 100644
--- a/include/configreader.h
+++ b/include/configreader.h
@@ -227,7 +227,7 @@ class CoreExport ServerConfig : public Extensible
* configutation, appending errors to errorstream
* and setting error if an error has occured.
*/
- bool ParseLine(ConfigDataHash &target, std::string &line, long linenumber, std::ostringstream &errorstream);
+ bool ParseLine(ConfigDataHash &target, std::string &line, long &linenumber, std::ostringstream &errorstream);
/** Process an include directive
*/