diff options
| author | 2007-11-11 17:53:57 +0000 | |
|---|---|---|
| committer | 2007-11-11 17:53:57 +0000 | |
| commit | 05e88fcd544e3cc22cfdd080a829cf835531d6ee (patch) | |
| tree | c1dc9339cab48008e4fe9290c303357bbba7c765 /include | |
| parent | In prep for remote includes, configuration reading is now two-pass. (diff) | |
| download | inspircd++-05e88fcd544e3cc22cfdd080a829cf835531d6ee.tar.gz inspircd++-05e88fcd544e3cc22cfdd080a829cf835531d6ee.tar.bz2 inspircd++-05e88fcd544e3cc22cfdd080a829cf835531d6ee.zip | |
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
Diffstat (limited to 'include')
| -rw-r--r-- | include/configreader.h | 8 |
1 files changed, 7 insertions, 1 deletions
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<std::string, std::stringstream*> 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 */ |
