summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2009-08-01 22:02:57 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2009-08-01 22:02:57 +0000
commit090e7b616104723960ab51d8faa966af333eb15d (patch)
treebcbc593324cc86723e6c2757024f088318025332 /src
parentc71db5cbdece1b5ce878c68f162acb52eff8becd (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/configreader.cpp6
1 files changed, 6 insertions, 0 deletions
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();