From: brain Date: Sun, 29 May 2005 15:18:30 +0000 (+0000) Subject: added tags (next make paths relative) X-Git-Tag: v2.0.23~10145 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;ds=sidebyside;h=ef70e0ac9cd103adcfc1b879c0a6c946fd53413b;p=user%2Fhenk%2Fcode%2Finspircd.git added tags (next make paths relative) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1552 e03df62e-2008-0410-955e-edbf42e46eb7 --- 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,"