From c5ad4c096148112d281510d11558c60962dcece5 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 30 May 2005 23:58:24 +0000 Subject: Configuration errors now go to the error log git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1575 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/inspircd.cpp') diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 70aa4326c..3ec24e38f 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -269,6 +269,7 @@ void ReadConfig(bool bail, userrec* user) if (!LoadConf(CONFIG_FILE,&config_f,&errstr)) { errstr.seekg(0); + log(DEFAULT,"There were errors in your configuration:\n%s",errstr.str().c_str()); if (bail) { printf("There were errors in your configuration:\n%s",errstr.str().c_str()); -- cgit v1.2.3