From 090e7b616104723960ab51d8faa966af333eb15d Mon Sep 17 00:00:00 2001 From: w00t Date: Sat, 1 Aug 2009 22:02:57 +0000 Subject: Show config warnings/errors regardless of loglevel on startup. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11451 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/configreader.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/configreader.cpp b/src/configreader.cpp index 1fb434493..db897b6cc 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -1210,6 +1210,12 @@ void ServerConfig::Apply(ServerConfig* old, const std::string &useruid) else ServerInstance->SNO->WriteGlobalSno('a', line); } + + if (!old) + { + // Starting up, so print it out so it's seen. XXX this is a bit of a hack. + printf("%s\n", line.c_str()); + } } errstr.clear(); -- cgit v1.2.3