From ef70e0ac9cd103adcfc1b879c0a6c946fd53413b Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 29 May 2005 15:18:30 +0000 Subject: added tags (next make paths relative) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1552 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd_io.cpp | 35 ++++++++++++++++++++++++++++++----- 1 file changed, 30 insertions(+), 5 deletions(-) (limited to 'src/inspircd_io.cpp') diff --git a/src/inspircd_io.cpp b/src/inspircd_io.cpp index 754a25284..e28290ec5 100644 --- a/src/inspircd_io.cpp +++ b/src/inspircd_io.cpp @@ -311,13 +311,38 @@ bool LoadConf(const char* filename, std::stringstream *target, std::stringstream { if ((buffer[0] != '#') && (buffer[0] != '\r') && (buffer[0] != '\n')) { - bool error = false; - std::string data = ConfProcess(buffer,linenumber++,errorstream,error,filename); - if (error) + if (!strncmp(buffer,"