From 05e88fcd544e3cc22cfdd080a829cf835531d6ee Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 11 Nov 2007 17:53:57 +0000 Subject: Begin rethink on this. Warning, this WILL break your ircd if youre using trunk! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8566 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/configreader.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/configreader.h b/include/configreader.h index 394d7f0f6..c06bd7fb5 100644 --- a/include/configreader.h +++ b/include/configreader.h @@ -241,6 +241,8 @@ class CoreExport ServerConfig : public Extensible /** Check that there is only one of each configuration item */ bool CheckOnce(char* tag); + + std::map IncludedFiles; public: @@ -251,6 +253,10 @@ class CoreExport ServerConfig : public Extensible Validator DNSServerValidator; InspIRCd* GetInstance(); + + bool Downloading(); + + void StartDownloads(); /** This holds all the information in the config file, * it's indexed by tag name to a vector of key/values. @@ -626,7 +632,7 @@ class CoreExport ServerConfig : public Extensible * and initialize this class. All other methods * should be used only by the core. */ - void Read(bool bail, User* user); + void Read(bool bail, User* user, int pass); /** Read a file into a file_cache object */ -- cgit v1.3.1-10-gc9f91