From c71db5cbdece1b5ce878c68f162acb52eff8becd Mon Sep 17 00:00:00 2001 From: w00t Date: Sat, 1 Aug 2009 21:58:17 +0000 Subject: Various rehash fixes that it seems were introduced by untested code. - Remove unused ReportConfigError member - Don't report successful load (and spam modules that failed to load) if there is a config error - Restore server name before attempting to send error string to client(s) otherwise most of them won't recieve the notifications. Fixes bug #891. Still to come: report errors loudly on startup regardless of debug mode. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11450 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/configreader.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'include') diff --git a/include/configreader.h b/include/configreader.h index cc0c06d38..c4b603342 100644 --- a/include/configreader.h +++ b/include/configreader.h @@ -800,10 +800,6 @@ class CoreExport ServerConfig : public Extensible */ bool StartsWithWindowsDriveLetter(const std::string &path); - /** Report a configuration error given in errormessage. - */ - void ReportConfigError(const std::string &errormessage); - /** Load 'filename' into 'target', with the new config parser everything is parsed into * tag/key/value at load-time rather than at read-value time. */ -- cgit v1.2.3